/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: Tim Marston
  • Date: 2012-03-21 19:37:33 UTC
  • Revision ID: tim@ed.am-20120321193733-29euxt0t0h9dwsj3
added .dep directories to bzrignore

Show diffs side-by-side

added added

removed removed

26
26
 
27
27
// number of segments in a full display (rotation) is 60 (one per
28
28
// second) times the desired number of sub-divisions of a second
29
 
#define NUM_SECOND_SEGMENTS 5
 
29
#define NUM_SECOND_SEGMENTS 6
30
30
#define NUM_SEGMENTS ( 60 * NUM_SECOND_SEGMENTS )
31
31
 
32
32
// clock draw direction
38
38
// multiply font width
39
39
#define TEXT_SCALE 3
40
40
 
41
 
// the proportion of the display to use (in segments)
42
 
#define TEXT_DISPLAY_SEGMENTS ( NUM_SEGMENTS * 2 / 3 )
43
 
 
44
41
// scrolly text speed (segments per second)
45
42
#define TEXT_SCROLL_SPEED ( 15 * NUM_SECOND_SEGMENTS )
46
43