This program is the simple test program that students will use to ensure they can program the FRDM-KL46Z developer board.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:1a4409fd59d6
- Child:
- 1:a54d88ce664d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Aug 12 21:36:32 2016 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +//DigitalOut gpo(D0); +DigitalOut led(LED_RED); + +int main() +{ + while (true) { + //gpo = !gpo; // toggle pin + led = !led; // toggle led + wait(0.5f); + } +} \ No newline at end of file