/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to test/led-test/led-test.ino

  • Committer: edam
  • Date: 2012-02-25 01:31:43 UTC
  • Revision ID: tim@ed.am-20120225013143-9fet2y2d3fjlrwez
added ulibc

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
{
10
10
        for( int a = 4; a < 14; a++ )
11
11
        {
12
 
                digitalWrite( a, HIGH );
13
 
                delay( 100 );
14
 
                digitalWrite( a, LOW );
15
 
                delay( 100 );
16
 
                digitalWrite( a, HIGH );
17
 
                delay( 200 );
18
 
                digitalWrite( a, LOW );
19
 
                delay( 200 );
 
12
                digitalWrite( a, a == 4? LOW : HIGH );
 
13
                delay( 100 );
 
14
        }
 
15
        for( int a = 4; a < 14; a++ ) {
 
16
                digitalWrite( a, a == 4? HIGH : LOW );
 
17
                delay( 100 );
20
18
        }
21
19
}