![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
potention test program
main.cpp
- Committer:
- mbed_official
- Date:
- 2013-02-12
- Revision:
- 0:ea5527eaa968
- Child:
- 1:29f7f8843c31
File content as of revision 0:ea5527eaa968:
#include "mbed.h" AnalogIn ain(p19); DigitalOut led(LED1); int main() { while (1){ if(ain > 0.3) { led = 1; } else { led = 0; } } }