This program is the simple test program that students will use to ensure they can program the FRDM-KL46Z developer board.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mattshuman
Date:
Sat Aug 13 08:29:27 2016 +0000
Parent:
0:1a4409fd59d6
Commit message:
Removed the DigitalOutput that toggled DO.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Aug 12 21:36:32 2016 +0000
+++ b/main.cpp	Sat Aug 13 08:29:27 2016 +0000
@@ -1,12 +1,10 @@
 #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);
     }