Digital Input simple example for WIZwiki-W7500 academy
Dependencies: mbed
Fork of DigitalIn_HelloWorld_WIZwiki-W7500 by
main.cpp
- Committer:
- mbed_official
- Date:
- 2013-02-13
- Revision:
- 0:aaf5a9d465fd
- Child:
- 3:e2f865861a7a
File content as of revision 0:aaf5a9d465fd:
#include "mbed.h" DigitalIn enable(p5); DigitalOut led(LED1); int main() { while(1) { if(enable) { led = !led; } wait(0.25); } }