Sakis Kasampalis
/
darkness_activated_switch
darkness activated switch
Diff: main.h
- Revision:
- 0:aa10f42a839d
- Child:
- 1:8cf180275a19
diff -r 000000000000 -r aa10f42a839d main.h --- /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