Rugged board has multiple ADC, including one available on expansion header. What is MRAA mapping for rest of the pins?
RUGGEDBOARD
FORUM
Solutions to your doubts are just one click away. Just select the appropriate category and ask questions. You can also reply to the answers you are already aware.
Except on Mikrobus, remaining pins are configured as gpio's in MRAA library.
So how can I configure other ADCs? How can I modify MRAA pin mapping to use rest of ADC inputs available on rugged board?
Please take the reference from added adc and modify in mraa source in below path src/arm/sama5.c
where can i find file sama5.c? I have checked here https://github.com/rugged-board/mraa-rba5d2x/tree/master/src/arm, but it does not contain this file
Please follow Readme.md file to how to download and compile the source for rugged board
below is having the mraa source link and follow the Readme.md from below link https://github.com/rugged-board/mraa-rba5d2x
if you have a yocto source, please go to below path to get the mraa source build/tmp/work/cortexa5hf-neon-poky-linux-musleabi/mraa/2.0.0-r0/git/
Could you point out from where to start in order to accommodate more ADC in MRAA library? Present version of MRAA return 117 pin count on mraa.getPinCount() command, does it mean that rugged board supports 117 pins as input/output? Pin mapping command mraa.getPinName(number), returns pin name only upto number 73. from 73 to 117 it does not show any names, what does it mean?