Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I have some doubts about Raspberry PI and I2C bus.
I would like to read a specific register from Node XX, and of course, write a value to specific register.
There are some functions to read and write but...... it is not clear.
For example, I would like to read a byte from register 0x19, from node 0x04.
It is clear where I can setup node number, but register number ?????
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have some doubts about Raspberry PI and I2C bus.
I would like to read a specific register from Node XX, and of course, write a value to specific register.
There are some functions to read and write but...... it is not clear.
For example, I would like to read a byte from register 0x19, from node 0x04.
It is clear where I can setup node number, but register number ?????
Thanks in advance.
Hi,
check this example project here:
l viewtopic.php?f=23&t=6247&p=19944#p19944 l
this should show how this could work.
BR
Edwin
Thank you Edwin.
Kind regards.