![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
darkness activated switch
Diff: main.h
- Revision:
- 0:aa10f42a839d
- Child:
- 1:8cf180275a19
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Sat Feb 11 14:13:27 2012 +0000 @@ -0,0 +1,9 @@ +#ifndef MAIN_H +#define MAIN_H + +enum {LedOff = 0, LedOn = 1}; + +AnalogIn myldr (p20); +DigitalOut myled (LED1); + +#endif