/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/drawer.h

  • Committer: edam
  • Date: 2012-02-25 14:54:33 UTC
  • Revision ID: edam@waxworlds.org-20120225145433-kih8qs45x05cum46
removed Bounce library and updated/fixed new code

Show diffs side-by-side

added added

removed removed

40
40
         */
41
41
        virtual void draw_reset();
42
42
 
 
43
protected:
 
44
 
 
45
        /**
 
46
         * Turn on/off an LED
 
47
         *
 
48
         * @param led index of the LED (0 to 9)
 
49
         * @param on true to turn on, false to turn off
 
50
         */
 
51
        void led_on( int led, bool on );
 
52
 
43
53
};
44
54
 
45
55