Soheil Novinfard
/
DACandticker_modified_2
Digital To Analogue Converter
Fork of ADCandticker_sample by
Diff: main.cpp
- Revision:
- 1:126dd2f5fc2d
- Parent:
- 0:ad3cdc525b99
- Child:
- 2:9e3a110b66ee
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