Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 6 months ago.
What pin name should I use for reading A11/ADC0_DM0?
In the Arduino Teensy framework, analog pin A11
can be read using the Arduino analogIn()
function.
However, the ADC0_DM0
pin is not referenced in either targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralPins.c::PinMap_ADC[]
or targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PinNames.h
.
Does anyone know how I might access the A11
pin for using with an AnalogIn
instance?
Any help would greatly appreciated!
Thanks, Christian
Question relating to:
1 Answer
5 years, 12 months ago.
Sorry for delay, I've been 'away' for a while. Not all the functions of this platform were implemented, we focused on the main DIP pin functions. We considered fourteen Analogue In pins would be sufficient, also the CAN function has not been implemented. These extra ADC channels can be added by editing the Target CMSIS and HAL files to enable the extra ADC pins.