/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-03-10 12:31:16 UTC
  • Revision ID: tim@ed.am-20120310123116-l348p5btgecmdj1q
added realtime clock test

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "config.h"
25
25
#include "Arduino.h"
26
26
#include <avr/pgmspace.h>
27
 
#include "display.h"
 
27
#include "common.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
 
                Display::led( a, ( _output_buffer & 1 )? true : false );
 
401
                led( a, ( _output_buffer & 1 )? true : false );
402
402
                _output_buffer >>= 1;
403
403
        }
404
404
        _output_buffer = 0;