This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# created October 4, 2014 | |
use strict; | |
use Data::Dumper; | |
#use JSON::PP; | |
$"=" "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package simple_move_cvtr; | |
use stream_cache; | |
use strict; | |
use warnings; | |
use List::Util qw(min max); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package stream_cache; | |
use strict; | |
use warnings; | |
sub new{ | |
my $get_next_chunk_data = shift; | |
my $next_chunk_id = shift; | |
$next_chunk_id = 0 unless $next_chunk_id; | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <math.h> | |
#include <stdio.h> | |
#define TMR0STEPS REGISTER(TIMERSBASE,4) | |
#define TMR0DESIRED REGISTER(TIMERSBASE,5) | |
#define TMR0QUAD REGISTER(TIMERSBASE,6) | |
#define TMR0MAXOVERSHOOT REGISTER(TIMERSBASE,7) | |
#define tim1off 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE GADTs, ExistentialQuantification #-} | |
module Main where | |
import Text.ParserCombinators.UU | |
--import Data.Char | |
import Text.ParserCombinators.UU.Utils | |
import Text.ParserCombinators.UU.BasicInstances hiding (Parser) | |
--import System.IO | |
--import GHC.IO.Handle.Types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE GADTs, ExistentialQuantification #-} | |
module Main where | |
import Text.ParserCombinators.UU | |
--import Data.Char | |
import Text.ParserCombinators.UU.Utils | |
import Text.ParserCombinators.UU.BasicInstances hiding (Parser) | |
--import System.IO | |
--import GHC.IO.Handle.Types |