This program continuously reads and prints any or all of the 16 Analog Input Pin voltages on the NPX Freescale FRDM-KL25Z microprocessor board. Pins on which to display voltages are determined 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. The data acquisition rate whereby voltage readings are updated is defined by the variable updatePeriodMs.

Dependencies:   mbed

Auto generated API documentation and code listings for TestAnalogInPins

Code

main.cpp [code]