User Tools

Site Tools


embedded:adventures:analogio

This is an old revision of the document!


p15 to p20 are the AnalogIn Input Pins, and p21 to p26 are the PwmOut Output Pins. This means the mBed can handle separate instances of Analog I/O devices.

This tutorial about connecting pushbuttons to a RGB LED will help.

mBed expresses its analog values from 0.0 to 1.0, floating values. If a more traditional range is preferred, there is always the option of mapping them with simple math.

embedded/adventures/analogio.1456523442.txt.gz · Last modified: 2024/08/20 21:38 (external edit)