ECE3872 HW/SW Project Code

Dependencies:   mbed Servo mbed-rtos 4DGL-uLCD-SE PinDetect X_NUCLEO_53L0A1

Committer:
trmontgomery
Date:
Tue Mar 31 19:16:42 2020 +0000
Revision:
1:505cd497d0d1
Parent:
0:197b8a501769
test 2

Who changed what in which revision?

UserRevisionLine numberNew 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 1:505cd497d0d1 5 /////TEST
trmontgomery 1:505cd497d0d1 6
trmontgomery 0:197b8a501769 7 int main() {
trmontgomery 0:197b8a501769 8 while(1) {
trmontgomery 0:197b8a501769 9 myled = 1;
trmontgomery 0:197b8a501769 10 wait(0.2);
trmontgomery 0:197b8a501769 11 myled = 0;
trmontgomery 0:197b8a501769 12 wait(0.2);
trmontgomery 0:197b8a501769 13 }
trmontgomery 0:197b8a501769 14 }