yasuo hayashibara
/
robocon_ad_check
This is a check program for the Robocon Magazine.
main.cpp
- Committer:
- yasuohayashibara
- Date:
- 2013-01-16
- Revision:
- 0:0dbea050804e
File content as of revision 0:0dbea050804e:
#include "mbed.h" AnalogIn adc_in1(p15); AnalogIn adc_in2(p16); Serial pc(USBTX, USBRX); int main() { while(1) { pc.printf("%f, %f\r\n",adc_in1.read(),adc_in2.read()); wait(2); } }