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.
mbed.bld@1:c424a90749e1, 2014-07-23 (annotated)
- Committer:
- sas37
- Date:
- Wed Jul 23 16:58:23 2014 +0000
- Revision:
- 1:c424a90749e1
- Parent:
- 0:eb0dc2b5bc51
Updated to correct version of FastAnalogIn
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sas37 | 0:eb0dc2b5bc51 | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/04dd9b1680ae |