This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] DLPC350投影仪的 Arduino 2560 I2C 控制

Guru**** 1810440 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/dlp-products-group/dlp/f/dlp-products-forum/726396/arduino-2560-i2c-control-of-the-dlpc350-projector

大家好、我正在尝试使用 Arduino 来控制 LightCrafter 4500。 我尝试简单的任务来翻转图像、但它不起作用。

我连接到 I2c1、没有上拉电阻器

以下是我的代码:

#include
#define LC4500_I2C_ADDRESS 0x1A

void setup()

 Wire.begin();
 Wire.setClock(100000);
 Serial.begin(9600);
 serial.println ("\nLightCrafter First Command");

 Wire.beginTransmission(LC4500_I2C_ADDRESS);
 Wire.write (0x08);
 Wire.write (0x01);
 wire.endTransmission ();


void loop()

感谢你的帮助。

Paul

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Paul
    欢迎使用 E2E、感谢您关注 DLP 技术。

    我们的团队将很快就您的问题与您联系。

    此致
    Azad
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Paul:

    要正确地向寄存器写入值、必须将寄存器地址的 MSB 设置为1。 例如、您尝试写入地址为0x08的寄存器、因此您应该将函数调用为 Wire.write (0x88)而不是 Wire.write (0x08)。

    希望这能解决您的问题。

    此致、

    Hirak。