I have FreeRTOS running over an Intel Galileo Gen2 Board. I am quite new to FreeRTOS so maybe this is an basic question. I have successfully run different tasks, but now I want to work with Input and Output pins. Following the blinking demo code I have found a function called vGalileoSetGPIOBitLevel, that seems to write a bit to a determined output. I have this two questions:
-I have not been able to understand, neither in the manuals nor in the code, is how to map the function entry parameter (GPIONumber) with the actual pins. Does it refer to 1 to 12 numbered Digital(PWM)?
- How can I get a reading from an Input? Are the A0 to A5 Analog In the ones to use? Which function is supposed to give me the value?
I have not found any reading on this issue, so any reference would be very helpful.