A simple program to read an analoge channel on the Freedom Kl25Z using the ticker object to control timing. The data is written into a circular buffer, which is read by the main loop and sent down the serial line.

Dependencies:   FastAnalogIn mbed

Note that the Baud rate is set as 57600 rather than the default 9600.

Revision graph

The revision graph only works with JavaScript-enabled browsers.