Pages: [1]   Go Down
Author Topic: I2C protocol problem  (Read 435 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 80
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I found a sensor that works with I2c protocol, but in the list of the command bytes that must be sent, there is somthing strange.
It gives somthing like that:


    command                       byte 0    byte 1    byte 2

read measurment byte 0       0x02      0x41     R+0x03
read measurment byte 1       0x02      0x42     R+0x03
.
.
.


it is the "R+" in front of the third byte that I don't understand, can anyone help me?
Logged

L.C.

Offline Offline
Sr. Member
****
Karma: 7
Posts: 287
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A link to the sensors data sheet would help ;-)
Logged


Offline Offline
Jr. Member
**
Karma: 1
Posts: 80
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, sorry

Logged

L.C.

Switzerland
Offline Offline
Faraday Member
**
Karma: 108
Posts: 5150
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess it means "Reading". The address probably is 0x01, which result then in a writing address byte of 0x02 and a reading address byte of 0x03.
Logged

Pages: [1]   Go Up
Jump to: