/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 src/text_renderer.cc

  • 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

423
423
{
424
424
        if( !_need_render ) return;
425
425
 
 
426
        // outer led on
 
427
        led( 9, true );
 
428
 
 
429
        // output buffer
426
430
        for( int a = 8; a >= 0; a-- ) {
427
431
                led( a, ( _output_buffer & 1 )? true : false );
428
432
                _output_buffer >>= 1;