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.

Files at this revision

API Documentation at this revision

Comitter:
sas37
Date:
Wed Jul 23 16:58:23 2014 +0000
Parent:
0:eb0dc2b5bc51
Commit message:
Updated to correct version of FastAnalogIn

Changed in this revision

FastAnalogIn.lib Show annotated file Show diff for this revision Revisions of this file
diff -r eb0dc2b5bc51 -r c424a90749e1 FastAnalogIn.lib
--- 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