Mjerenje napona - 03.11
Dependencies: mbed
Fork of VT1_Pervan by
main.cpp
- Committer:
- fpervan
- Date:
- 2016-11-03
- Revision:
- 2:9d203ce835e8
- Parent:
- 0:fb6bbc10ffa0
- Child:
- 3:30a434029ace
File content as of revision 2:9d203ce835e8:
#include "mbed.h" Serial pc(USBTX, USBRX); AnalogIn Ain(p20); float ADCdata; int main() { pc.printf("ADC Data Values... \n\r"); while (1) { ADCdata=Ain; pc.printf("%f \n\r",ADCdata); wait (0.5); } }