Akhil Nair
/
Lab3p1
Lab 3 the ADC part with the leds
Diff: main.cpp
- Revision:
- 1:126dd2f5fc2d
- Parent:
- 0:ad3cdc525b99
- Child:
- 3:f5d7fddeef39
diff -r ad3cdc525b99 -r 126dd2f5fc2d main.cpp --- a/main.cpp Tue Jan 31 23:02:02 2017 +0000 +++ b/main.cpp Wed Jan 24 21:55:43 2018 +0000 @@ -1,8 +1,9 @@ // LAB 3 SAMPLE PROGRAM 1 +// Revised for mbed 5 #include "mbed.h" -#include "rtos.h" + Ticker tick; // Ticker for reading analog AnalogIn ain(A0) ; // Analog input