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

Dependencies:   mbed

main.cpp

Committer:
mattshuman
Date:
2016-08-12
Revision:
0:1a4409fd59d6
Child:
1:a54d88ce664d

File content as of revision 0:1a4409fd59d6:

#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);
    }
}