Change the world

Control Software

The ARMmbed class that will be used in this section is:

  • AnalogIn  - Read an external voltage applied to an analog input pin

Further documentation on this class can be found on the ARMmbed Handbook webpage (https://developer.mbed.org/handbook/Homepage).

 

Some of the examples might make use of the Serial Wire Viewer, so make sure to import the SWO library correctly as described on the Serial Wire Viewer example page.


The following example programs will demonstrate the principles of basic analog input: