Specifically, we have to be able to read at least 1 GPIO ([Image of Raspberry PI GPIOs](https://www.raspberrypi.org/documentation/usage/gpio/images/GPIO-Pinout-Diagram-2.png)) It would be best if we had a generic code that could use any GPIOs. We musn't use the GPIOs associated with the SPI interface (used for CAN) : MOSI/MISO/SCLK/CE. These are GPIOs 8, 9, 10, 11 and 25. For instance, we could use GPIO 16 for the Start of Match input. This would be useful for a control interface of the robot.
Specifically, we have to be able to read at least 1 GPIO (Image of Raspberry PI GPIOs)
It would be best if we had a generic code that could use any GPIOs.
We musn't use the GPIOs associated with the SPI interface (used for CAN) : MOSI/MISO/SCLK/CE.
These are GPIOs 8, 9, 10, 11 and 25.
For instance, we could use GPIO 16 for the Start of Match input.
This would be useful for a control interface of the robot.