Gajos
Hi,
I want to use OpenPLC with OLED display using I2C interface. There is possible to exclude some GPIO pins from OpenPLC to using them in different way? Not using them in project of course doesn't change anything.
Reply 0 0
thiagoralves
You will have to edit the hardware_layer.cpp file and remove the pins you don't want OpenPLC to use from the arrays. Something like this:  https://openplc.discussion.community/post/raspberry-pi-hangs-after-running-nodejs-8470161?pid=1304228656

By the way, on OpenPLC v3 you won't have to do anything. There is a GUI option on the webserver where you can exclude pins from the hardware layer in order to have them do something else. Check the prototype here: http://18.216.178.208/OpenPLC_v3/hardware.html
Reply 0 0
Gajos
Thanks, I've modified file in older version. And, after check prototype, I'm waiting for new version. 🙂 Reloading programs is very useful.
Reply 0 0
Reply