/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: edam
  • Date: 2012-03-03 10:06:31 UTC
  • Revision ID: edam@waxworlds.org-20120303100631-ae3idks1703vdm05
widenned clock hands, tweaked scales, got top & bottom text modes working

Show diffs side-by-side

added added

removed removed

24
24
#include "config.h"
25
25
#include "Arduino.h"
26
26
#include <avr/pgmspace.h>
27
 
#include "common.h"
 
27
#include "display.h"
28
28
 
29
29
 
30
30
// cached glyph
398
398
void TextRenderer::output_buffer()
399
399
{
400
400
        for( int a = 8; a >= 0; a-- ) {
401
 
                led( a, ( _output_buffer & 1 )? true : false );
 
401
                Display::led( a, ( _output_buffer & 1 )? true : false );
402
402
                _output_buffer >>= 1;
403
403
        }
404
404
        _output_buffer = 0;