From c059eb3c7d5a2e42cc7bcc93b0b1549e36e042d6 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 7 Dec 2016 01:15:31 -0500 Subject: Update! Getting very close. --- tools/avr_codegen/test.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'tools/avr_codegen/test.c') diff --git a/tools/avr_codegen/test.c b/tools/avr_codegen/test.c index 0215e09..87f0fc9 100644 --- a/tools/avr_codegen/test.c +++ b/tools/avr_codegen/test.c @@ -71,11 +71,18 @@ int main( ) #define DO_MARKER( time, LEDS ) \ marker = time; do { PORTB = LEDS; marker--; PORTB = 0; } while( marker ); + DO_MARKER(20, LED50); + DO_MARKER(20, LED50|LED48); + DO_MARKER(20, LED48); + DO_MARKER(20, LED40|LED48); DO_MARKER(20, LED40); - DO_MARKER(35, LED50|LED40); - DO_MARKER(25, LED50); - DO_MARKER(45, LED50|LED48); - DO_MARKER(60, LED50); + DO_MARKER(20, LED40|LED48); + DO_MARKER(20, LED40); + DO_MARKER(20, LED40|LED48); + DO_MARKER(20, LED40); + DO_MARKER(20, LED40|LED48); + DO_MARKER(20, LED48); + //DO_MARKER(60, LED50); // sendhex2( 5 ); // sendchr('\n'); -- cgit v1.2.3