segway_self balancing robot 4180 project
Dependencies: mbed mbed-rtos LSM9DS1_Library
main.cpp@6:0bff4e260db2, 2020-04-09 (annotated)
- Committer:
- fmmgramacho
- Date:
- Thu Apr 09 20:43:23 2020 +0000
- Revision:
- 6:0bff4e260db2
- Parent:
- 5:cf7df8c086a1
- Child:
- 7:8af26d50c006
changed led to 2
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pandirimukund | 0:49139eec4c55 | 1 | #include "mbed.h" |
| pandirimukund | 0:49139eec4c55 | 2 | |
| fmmgramacho | 6:0bff4e260db2 | 3 | DigitalOut myled(LED2); |
| pandirimukund | 0:49139eec4c55 | 4 | |
| pandirimukund | 0:49139eec4c55 | 5 | int main() { |
| pandirimukund | 0:49139eec4c55 | 6 | while(1) { |
| pandirimukund | 0:49139eec4c55 | 7 | myled = 1; |
| pandirimukund | 0:49139eec4c55 | 8 | wait(0.2); |
| pandirimukund | 0:49139eec4c55 | 9 | myled = 0; |
| pandirimukund | 0:49139eec4c55 | 10 | wait(0.2); |
| pandirimukund | 0:49139eec4c55 | 11 | } |
| pandirimukund | 0:49139eec4c55 | 12 | } |
| spyon6 | 5:cf7df8c086a1 | 13 | //hi |
