noop din
/
ADCandticker_sample
the code for Lab3
Fork of ADCandticker_sample by
Diff: main.cpp
- Revision:
- 1:126dd2f5fc2d
- Parent:
- 0:ad3cdc525b99
- Child:
- 2:f7c24790b1ad
--- 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