IGGE Power board
Dependencies: mbed ADS1015 USBDevice MCP4725
main.cpp@0:54d5ccfcb14c, 2014-03-24 (annotated)
- Committer:
- jamesdem1123
- Date:
- Mon Mar 24 14:10:04 2014 +0000
- Revision:
- 0:54d5ccfcb14c
- Child:
- 1:dd6f8dc1e54e
IGGE Power Board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jamesdem1123 | 0:54d5ccfcb14c | 1 | #include "mbed.h" |
jamesdem1123 | 0:54d5ccfcb14c | 2 | |
jamesdem1123 | 0:54d5ccfcb14c | 3 | DigitalOut myled(LED1); |
jamesdem1123 | 0:54d5ccfcb14c | 4 | |
jamesdem1123 | 0:54d5ccfcb14c | 5 | int main() { |
jamesdem1123 | 0:54d5ccfcb14c | 6 | while(1) { |
jamesdem1123 | 0:54d5ccfcb14c | 7 | myled = 1; |
jamesdem1123 | 0:54d5ccfcb14c | 8 | wait(0.2); |
jamesdem1123 | 0:54d5ccfcb14c | 9 | myled = 0; |
jamesdem1123 | 0:54d5ccfcb14c | 10 | wait(0.2); |
jamesdem1123 | 0:54d5ccfcb14c | 11 | } |
jamesdem1123 | 0:54d5ccfcb14c | 12 | } |