/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-01-14 17:31:34 UTC
  • Revision ID: edam@waxworlds.org-20120114173134-5zoqjn0upzpb4ufa
added led-test subproject

Show diffs side-by-side

added added

removed removed

9
9
{
10
10
        for( int a = 4; a < 14; a++ )
11
11
        {
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 );
 
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 );
18
20
        }
19
21
}