Hi everyone!
I started developing a projector based on an 1080p (.47) optical engine and I want to control it via I2C.
I buy the DLP LightCrafter Display 4710 kit and I tried to send I2C command via the J_DEV pin with an Arduino Uno but for the moment it doesn't work...
Here is my code on the Arduino:
#include <Wire.h> byte address = 0x36; byte subAddress = 0x14; byte data = 0x02; void setup() { Wire.begin(); } void loop() { Wire.beginTransmission(address); Wire.write(subAddress); Wire.write(data); Wire.endTransmission(); delay(500); }
I see on datasheet that 0x36 is the optique's address and the register 0x14 control the screen orientation (0x02 is used to flip the screen).
I tried to write this command in a batch file and it works so 0x14 and 0x02 are the right values to send.
I also tried to connect 2 arduino via I2C and this code works, the slave receive the data.
Does anyone have an idea of how can I send successfully commands from my Arduino from I2C?
Many thanks in advance!
Cheers,