Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TestAnalogInPins by
Diff: main.cpp
- Revision:
- 11:a4b75223d365
- Parent:
- 10:7e91529ec75f
--- a/main.cpp Thu Jan 19 15:36:33 2017 +0000 +++ b/main.cpp Thu Jan 19 15:37:14 2017 +0000 @@ -1,7 +1,7 @@ /*AnalogInDataLogger: written by Sami Kanderian, last updated on 19 Jan 2017. It continuously reads -and prints 16 Analog Input Pin voltages on the NPX Freescale FRDM-KL25Z microprocessor board via +and prints 14 Analog Input Pin voltages on the NPX Freescale FRDM-KL25Z microprocessor board via serial inputs registered via an RX Interrupt trigger that changes the value of charCCIn, where -charCCIn goes from '00' to '16'. charCCIn should be preceeded by a '#'. Serial baud rate is 9600. +charCCIn goes from '00' to '14'. charCCIn should be preceeded by a '#'. Serial baud rate is 9600. The data acquisition rate whereby voltage readings are updated is defined by the variable updatePeriodMs. Serial inputs followed by Carriage Return:
