/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.cc

  • Committer: Tim Marston
  • Date: 2012-03-09 23:42:20 UTC
  • Revision ID: tim@ed.am-20120309234220-xr1vxzve0o5n2oss
added support for eclipse project and converted to a manual Makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
#include "time.h"
82
82
#include "switcher_major_mode.h"
83
83
#include "drawer.h"
 
84
#include "Arduino.h"
84
85
 
85
86
//_____________________________________________________________________________
86
87
//                                                                         data
248
249
        // set up mode-switch button on pin 3
249
250
        pinMode( 3, INPUT );
250
251
        digitalWrite( 3, HIGH );
251
 
        static int event_times[] = { 5, 1000, 4000, 0 };
 
252
        static int event_times[] = { 5, 500, 4000, 0 };
252
253
        button.set_event_times( event_times );
253
254
 
254
255
        // set up major modes