jurep
Hi,
I wanted to test the code posted on this forum: Reading a DS18B20 Temperature sensor wth openPLC and a Rasberry Pi, but I am missing the Hardware Layer Coding Box to insert the code.

I am running the OpenPLC runtime on Raspberry Pi 4B (4G ram) with fresh install of the latest Raspberry Pi OS with desktop.
I installed the latest OpenPLC runtime and upgraded wiringPi library.

A demo program with blinking led is working.

I wanted to test the above mentioned C code for DS18B20, but there is no text box to insert the code in.

What am I missing?

Thanks for the help.
Screenshot from 2021-05-10 20-47-38.png 
Reply 0 0
thiagoralves
HWLCB is now deprecated. Instead, you should use PSM, which is much more advanced and simpler to use since it is based in Python instead of C. Check the post here:  https://openplc.discussion.community/post/megaioind-industrial-building-automation-for-raspberrypi-9832564?pid=1325299322
Reply 1 0
jurep
Oh, what an improvement.
Now it is about 10 times easier to integrate custom hardware. At least for me :-)
It works like a charm.
Thanks a lot.
Reply 1 0
Reply