Paolo
I've been using OpenPLC on PLC Unipi 1.1 for several months.
Inputs i01 to i12 work normally. The problem I'm having is with the last two (i13 and i14).
In accordance with the manual, I have wired them to physical ports 29 and 31 of the Rpi (GPIO5 and GPIO6).
 
Screenshot 2024-05-27 at 21-56-13 Digital inputs  <a href=
 
And thanks to the ```gpio readall``` command I can see their states changing depending on the state of the inputs.
 
Termius - 192.168.11.60 27_05_2024 17_54_09.png

But in OpenPLC Runtime these two inputs remain in the low state. I also made a graph on Fuxa which plots their states to check, same result.
 
Opera Instantané_2024-05-27_175233_192.168.11.60.png
 
FUXA — Mozilla Firefox 27_05_2024 18_00_57.png
 
Can you help me?
Reply 0 0
Paolo
I will try to change unipi.cpp
Reply 0 0
Paolo
Done! And it works!
Reply 0 0
thiagoralves
Merged! Thanks again 
Reply 0 0
Reply