![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All the commit done for assignment 3
Dependencies: MCP23017 Servo WattBob_TextLCD mbed mbed-rtos
main.cpp@0:8bcf5bf1bbfb, 2017-03-21 (annotated)
- Committer:
- xouf2114
- Date:
- Tue Mar 21 13:44:42 2017 +0000
- Revision:
- 0:8bcf5bf1bbfb
- Child:
- 1:b1b14911f265
First write programming
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
xouf2114 | 0:8bcf5bf1bbfb | 1 | #include "mbed.h" |
xouf2114 | 0:8bcf5bf1bbfb | 2 | |
xouf2114 | 0:8bcf5bf1bbfb | 3 | DigitalOut myled(LED1); |
xouf2114 | 0:8bcf5bf1bbfb | 4 | |
xouf2114 | 0:8bcf5bf1bbfb | 5 | int main() { |
xouf2114 | 0:8bcf5bf1bbfb | 6 | while(1) { |
xouf2114 | 0:8bcf5bf1bbfb | 7 | myled = 1; |
xouf2114 | 0:8bcf5bf1bbfb | 8 | wait(0.2); |
xouf2114 | 0:8bcf5bf1bbfb | 9 | myled = 0; |
xouf2114 | 0:8bcf5bf1bbfb | 10 | wait(0.2); |
xouf2114 | 0:8bcf5bf1bbfb | 11 | } |
xouf2114 | 0:8bcf5bf1bbfb | 12 | } |