just the adc test please don't modify
Dependencies: mbed
main.cpp@0:80417bf1f7af, 2018-01-26 (annotated)
- Committer:
- raduschirila
- Date:
- Fri Jan 26 12:09:21 2018 +0000
- Revision:
- 0:80417bf1f7af
ADC PULSE TEST
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
raduschirila | 0:80417bf1f7af | 1 | #include "mbed.h" |
raduschirila | 0:80417bf1f7af | 2 | |
raduschirila | 0:80417bf1f7af | 3 | DigitalOut myled(LED1); |
raduschirila | 0:80417bf1f7af | 4 | |
raduschirila | 0:80417bf1f7af | 5 | int main() { |
raduschirila | 0:80417bf1f7af | 6 | while(1) { |
raduschirila | 0:80417bf1f7af | 7 | myled = 1; |
raduschirila | 0:80417bf1f7af | 8 | wait(0.2); |
raduschirila | 0:80417bf1f7af | 9 | myled = 0; |
raduschirila | 0:80417bf1f7af | 10 | wait(0.2); |
raduschirila | 0:80417bf1f7af | 11 | } |
raduschirila | 0:80417bf1f7af | 12 | } |