/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: 2012-05-23 23:02:50 UTC
  • Revision ID: tim@ed.am-20120523230250-3pls2u6zt3av0uam
fixed text glitch; extended all modes; added screen flip super-long press;
added button unpress debounde; moved interim button press ignoration to
settings mode; fixed left-over led issue; finished for demo!

Show diffs side-by-side

added added

removed removed

Lines of Context:
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;