Hi. Not as I can not figure out with I2C. Found another way to obtain data via I2C. Performed everything according to the instructions: https://github.com/hendrychjan/valt-rpi. Now I see in the console: PI @ Raspberrypi: ~ $ Python3 Sensor.py Temperature: 27.42578125 ° C How can I see this line from the console in Codesys? Thanks.
I wanted to read all bytes using the i2C_Master.Read method. I could not get. On the I2C devices tab, I see at the beginning of the address -1 after the i2c_master.read method is performed in the address changed. The variable from the bytes is 0, then the bytes are not received. What to do? How to get bytes?