Inam65
Newbie level 2
- Joined
- Sep 1, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 12
Hi, I m trying to interface PIC with MAX44004 ALS Sensor (Slave Device) via I2C. The slave device has an address of 0x94 (when A0 is GND. see pg no. 13 of the attached datasheet). Since datasheet states that each word transmitted to the device is 8 bits long and is followed by an acknowledge clock pulse.
Now i have to incorporate R/W bit alongwith the slave address which is 0x94 so please advise how can i do this within the same byte to be transmitted to slave device?
Now i have to incorporate R/W bit alongwith the slave address which is 0x94 so please advise how can i do this within the same byte to be transmitted to slave device?