/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/modes/test_pattern_mode.cc

  • Committer: Tim Marston
  • Date: 2012-05-18 14:40:04 UTC
  • Revision ID: tim@ed.am-20120518144004-uuz2zrjmyr78wqd5
updated emacs compile command and readjusted clock shift

Show diffs side-by-side

added added

removed removed

22
22
 */
23
23
#include "test_pattern_mode.h"
24
24
#include "common.h"
25
 
#include "text.h"
26
25
 
27
26
 
28
27
void TestPatternMode::draw( int segment )
35
34
        for( int a = 0; a < 9; a++ )
36
35
                led( 8 - a, ( segment >> a ) & 1 );
37
36
}
38
 
 
39
 
 
40
 
void TestPatternMode::activate()
41
 
{
42
 
        Text::reset();
43
 
}