Raspberry PI I2C protocol

tomas111
2021-09-24
2021-09-27
  • tomas111 - 2021-09-24

    I want to receive data in Codesys on I2C, I didn't find examples. Tell me there is info how to get data? Data in the Raspberry itself through the console I see. But how to see bytes in Codesys?

     
  • tomas111 - 2021-09-27

    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?

     

Log in to post a comment.