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

  • Committer: edam
  • Date: 2012-02-23 20:18:22 UTC
  • Revision ID: edam@waxworlds.org-20120223201822-dno5n4fwvd35izq9
changed 12-tick to a double tick, added CLOCK_SHIFT to align face and fixed hour-hand

Show diffs side-by-side

added added

removed removed

1
 
// number of segments in a full display (rotation) is 60 (one per
2
 
// second) times the desired number of sub-divisions of a second
3
 
#define NUM_SECOND_SEGMENTS 5
4
 
#define NUM_SEGMENTS ( 60 * NUM_SECOND_SEGMENTS )
5
 
 
6
 
// clock draw direction
7
 
#define CLOCK_FORWARD 0
8
 
 
9
 
// rotate display (in segments)
10
 
#define CLOCK_SHIFT ( 58 * NUM_SECOND_SEGMENTS - 1 )