From f03580f15d4917db2fd0790ff3718ce5ff397a75 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 7 Dec 2016 17:58:57 -0500 Subject: Re-jigger code a little - seems to be more correct now. --- tools/avr_codegen/test.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'tools/avr_codegen/test.c') diff --git a/tools/avr_codegen/test.c b/tools/avr_codegen/test.c index 87f0fc9..d245e16 100644 --- a/tools/avr_codegen/test.c +++ b/tools/avr_codegen/test.c @@ -71,6 +71,7 @@ int main( ) #define DO_MARKER( time, LEDS ) \ marker = time; do { PORTB = LEDS; marker--; PORTB = 0; } while( marker ); +#if 1 //this breaks it? DO_MARKER(20, LED50); DO_MARKER(20, LED50|LED48); DO_MARKER(20, LED48); @@ -81,7 +82,18 @@ int main( ) DO_MARKER(20, LED40|LED48); DO_MARKER(20, LED40); DO_MARKER(20, LED40|LED48); - DO_MARKER(20, LED48); + DO_MARKER(20, LED40); + DO_MARKER(20, LED40|LED48); + DO_MARKER(20, LED40); +#endif + +#if 0 + DO_MARKER(10, LED50); + DO_MARKER(50, LED50|LED48); + DO_MARKER(12, LED48); +#endif + + //DO_MARKER(60, LED50); // sendhex2( 5 ); -- cgit v1.2.3