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.
Dependencies: mbed
Fork of MUX_test by
Homepage
With the limited numbers of ADC pins, it often helps to use multiplexing to access, in this case 16 inputs using just one ADC pin and 4 I/O pins.
This code replicates some examples currently published for Arduino. It provides a function to access whichever channel you like, just pass the function the pin you wish to access and it will pass back the ADC reading from it. - Simple Really!
Any Questions, please do let me know.