/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: Tim Marston
  • Date: 2013-03-31 17:07:36 UTC
  • Revision ID: tim@ed.am-20130331170736-hphm2hg0y6l7w6z1
made rtc-test's DS1307 library a symlink to the main one in src/util

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
}