ss
helloword.cpp@0:89e99d1aa939, 2015-06-07 (annotated)
- Committer:
- z_james
- Date:
- Sun Jun 07 08:08:33 2015 +0000
- Revision:
- 0:89e99d1aa939
hha;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
z_james | 0:89e99d1aa939 | 1 | #include "mbed.h" |
z_james | 0:89e99d1aa939 | 2 | #include "C12832.h" |
z_james | 0:89e99d1aa939 | 3 | |
z_james | 0:89e99d1aa939 | 4 | DigitalOut myled(LED1); |
z_james | 0:89e99d1aa939 | 5 | |
z_james | 0:89e99d1aa939 | 6 | int main() { |
z_james | 0:89e99d1aa939 | 7 | while(1) { |
z_james | 0:89e99d1aa939 | 8 | myled = 1; |
z_james | 0:89e99d1aa939 | 9 | wait(0.2); |
z_james | 0:89e99d1aa939 | 10 | myled = 0; |
z_james | 0:89e99d1aa939 | 11 | wait(0.2); |
z_james | 0:89e99d1aa939 | 12 | } |