/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/analogue_clock_mode.h

  • 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

33
33
 
34
34
        /**
35
35
         * Called once per segment to draw a column of LEDs.
 
36
         *
36
37
         * @param segment the segment number to draw
37
38
         */
38
39
        void draw( int segment );
63
64
        /** the segment that the second hand should be at */
64
65
        int _second_segment;
65
66
 
 
67
        /** the segment that the subsecond hand should be at */
 
68
        int _subsecond_segment;
 
69
 
66
70
        /** the flavour */
67
71
        int _flavour;
 
72
 
 
73
        /** number of elapsed milliseconds this second */
 
74
        unsigned long _second_millis;
68
75
};
69
76
 
70
77