Viswanath Gowda
/
Temp_Humid
HUMIDITY TEMPERATURE HDC1080 NUCLEO
main.cpp@0:005629fe3609, 2014-01-28 (annotated)
- Committer:
- screamer
- Date:
- Tue Jan 28 22:21:41 2014 +0000
- Revision:
- 0:005629fe3609
- Child:
- 2:b60cb847489c
updated mbed SDK
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 0:005629fe3609 | 1 | #include "mbed.h" |
screamer | 0:005629fe3609 | 2 | |
screamer | 0:005629fe3609 | 3 | DigitalOut myled(LED1); |
screamer | 0:005629fe3609 | 4 | |
screamer | 0:005629fe3609 | 5 | int main() { |
screamer | 0:005629fe3609 | 6 | while(1) { |
screamer | 0:005629fe3609 | 7 | myled = 1; |
screamer | 0:005629fe3609 | 8 | wait(0.2); |
screamer | 0:005629fe3609 | 9 | myled = 0; |
screamer | 0:005629fe3609 | 10 | wait(0.2); |
screamer | 0:005629fe3609 | 11 | } |
screamer | 0:005629fe3609 | 12 | } |