/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:55:12 UTC
  • Revision ID: tim@ed.am-20120518145512-4dg4ble01d47a8z5
moved rount Time a bit, and passed _button to SettingsMajorMode so that it can
come in and out of send_interim mode

Show diffs side-by-side

added added

removed removed

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