i am working on i2c from codesys. i have more knowledge on arm based linux boards than codesys. can any one help me write a simple code to accomplish this-
root@am335x:~# i2cget -y 1 0x1d 0x00
0xe5
-from the codesys application. i have a i2cmaster devdesc and it is using RaspberryPheripherals library. when i try to open and check the source, i get "no source code available for this object because it is in the compile library 'raspberrypheripherals,3.5.13.0'"
can some one help me to write some code to read or write data from the slave.
thanks in advance,
--Kris
Last edit: krishemanth 2021-03-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
i am working on i2c from codesys. i have more knowledge on arm based linux boards than codesys. can any one help me write a simple code to accomplish this-
root@am335x:~# i2cget -y 1 0x1d 0x00
0xe5
-from the codesys application. i have a i2cmaster devdesc and it is using RaspberryPheripherals library. when i try to open and check the source, i get "no source code available for this object because it is in the compile library 'raspberrypheripherals,3.5.13.0'"
can some one help me to write some code to read or write data from the slave.
thanks in advance,
--Kris
Last edit: krishemanth 2021-03-22