/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 21:24:17 UTC
  • Revision ID: tim@ed.am-20120321212417-dnba5l1oheddeyxw
fixed time centring and display in settings mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
// clock draw direction
33
33
#define CLOCK_FORWARD 0
34
34
 
35
 
// rotate display (clockwise, in segments)
36
 
#define CLOCK_SHIFT ( 57 * NUM_SECOND_SEGMENTS - 2 )
 
35
// rotate display (in segments)
 
36
#define CLOCK_SHIFT ( 58 * NUM_SECOND_SEGMENTS - 1 )
 
37
 
 
38
// multiply font width
 
39
#define TEXT_SCALE 3
37
40
 
38
41
// scrolly text speed (segments per second)
39
42
#define TEXT_SCROLL_SPEED ( 15 * NUM_SECOND_SEGMENTS )