A little twist on the blinky program using DigitalOut, PWM, and InterruptIn. User can experiment with various parameters to learn about the Mbed platform and their own hardware. User needs to supply a single wire to connect between two pins to make the light blink. PWM makes pulses that are wired to another pin with an interrupt attached to it. Upon receipt of the pulse, the interrupt calls a function to toggle the blue light off and on. Upon return from the function the program loops to await the next pulse. Lots of remarks explaining what is going on in the program.

Dependencies:   mbed

Revisions of mbed.bld

Revision Date Message Actions
0:faab03ae0c8a 2015-02-04 V1.0 of new blinky program with annotations. File  Diff  Annotate