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.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
1:c424a90749e1 | 2014-07-23 | sas37 | Updated to correct version of FastAnalogIn |
0:eb0dc2b5bc51 | 2014-07-23 | sas37 | Version now running; |