/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/propeller-clock.ino

  • Committer: edam
  • Date: 2012-02-02 01:19:19 UTC
  • Revision ID: edam@waxworlds.org-20120202011919-rcu4pt8mq8pieujs
modified schematic and updated notes

Show diffs side-by-side

added added

removed removed

102
102
static bool inc_draw_mode = false;
103
103
 
104
104
// a bounce-managed button
105
 
static Bounce button( 3, 50 );
 
105
static Bounce button( 3, 5 );
106
106
 
107
107
// the time
108
108
static int time_hours = 0;
323
323
 
324
324
        // set up mode-switch button on pin 3
325
325
        pinMode( 3, INPUT );
326
 
        digitalWrite( 3, HIGH );
327
326
 
328
327
        // get the time from the real-time clock
329
328
        int rtc_data[ 7 ];