/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-01-26 23:49:09 UTC
  • Revision ID: edam@waxworlds.org-20120126234909-2sk9o3fr9idt6yd4
updated notes and scematic (adding capacitor+resistor and diode)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 ];