![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ECE3872 HW/SW Project Code
Dependencies: mbed Servo mbed-rtos 4DGL-uLCD-SE PinDetect X_NUCLEO_53L0A1
main.cpp@0:197b8a501769, 2020-03-31 (annotated)
- Committer:
- trmontgomery
- Date:
- Tue Mar 31 19:15:46 2020 +0000
- Revision:
- 0:197b8a501769
- Child:
- 1:505cd497d0d1
vc test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trmontgomery | 0:197b8a501769 | 1 | #include "mbed.h" |
trmontgomery | 0:197b8a501769 | 2 | |
trmontgomery | 0:197b8a501769 | 3 | DigitalOut myled(LED1); |
trmontgomery | 0:197b8a501769 | 4 | |
trmontgomery | 0:197b8a501769 | 5 | int main() { |
trmontgomery | 0:197b8a501769 | 6 | while(1) { |
trmontgomery | 0:197b8a501769 | 7 | myled = 1; |
trmontgomery | 0:197b8a501769 | 8 | wait(0.2); |
trmontgomery | 0:197b8a501769 | 9 | myled = 0; |
trmontgomery | 0:197b8a501769 | 10 | wait(0.2); |
trmontgomery | 0:197b8a501769 | 11 | } |
trmontgomery | 0:197b8a501769 | 12 | } |