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.
Diff: FastAnalogIn.lib
- Revision:
- 1:c424a90749e1
- Parent:
- 0:eb0dc2b5bc51
--- a/FastAnalogIn.lib Wed Jul 23 16:46:41 2014 +0000 +++ b/FastAnalogIn.lib Wed Jul 23 16:58:23 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/humlet/code/FastAnalogIn/#55274430c8df +http://mbed.org/users/Sissors/code/FastAnalogIn/#31184aa1449c