I all,
I try read the température with this componment :
http://www.ti.com/lit/ds/symlink/tmp175.pdf
I connected in my card and i throw
root@beaglebone:~# i2cdetect -y -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – 49 – -- – -- – --
50: – -- – -- UU UU UU UU – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
now I know adresse slave,
with bonescript, how, i can write(ou read) register wiith I2C.
Help me for show exemple simple script for do it.
tanks a lot