
fredebec
France
Asked
Hi,
I have successfully connected ARC to the Pi using the EZBPi server, but I don't understand how to access the GPIOs of the Pi. If I want to set or read a digital port, how do I know which port in ARC correspond the right GPIO pinout?
Related Hardware Raspberry Pi
Related Controls
Read Digital
Set Digital
Update:
Ok, all commands work now after some reading in the Pi forums. I had to run:
Then, I have successfully toggle the led.
And ezbpi server can toggle the gpio18 / port 18?
No, no success with ARC via the ezbpi server...
One question the led should switch ON with digital ON or digital OFF ?
On the EZB v4, the led is switched ON with digital ON.
There was an issue with setting the pin to LOW and also with reading its value. I tested it and it works now (port mappings are GPIOX <> DX as already mentioned). I have uploaded a new version 5 here https://synthiam.com/Firmware/EZBPi-Server-SXQJXC3FIQ5.
Please give it a try and let me know how it goes.
Hi Amin,
Thanks for your help and the new firmware. Sadly, it is not working and I still cannot switch ON the led.
When I add the "read digital" control on the same port 18, it doesn't go green when i put the "set digital" ON. Moreover, when I put the "read digital" control on the same port than "set digital" control, this later does not stay green when I click on it and go back to red immediately. I don't know if that makes ant sense to you...
@fredebec
Please post the output of the following commands: