here_rtk_kit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| here_rtk_kit [2025/11/25 15:11] – [Rover] millerjs | here_rtk_kit [2025/11/28 05:45] (current) – admin | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| ==== I2C devices ==== | ==== I2C devices ==== | ||
| - | ^ Device Type ^ Part ^ Address | + | ^ Device Type ^ Part ^ Address |
| - | | Magnetometer | + | | Magnetometer |
| - | | Magnetometer | + | | Magnetometer |
| - | | Magnetometer | + | | Magnetometer |
| - | | LED Driver | + | | LED Driver |
| - | | IMU | MPU-9250 | + | | IMU |
| - | | Barometer | + | | Barometer |
| + | |||
| + | ==== Sample Code ==== | ||
| + | === TCA62724 ==== | ||
| + | Solid purple, lowest brightness (still quite bright!) | ||
| + | |||
| + | <file c TCA62724_Purple.ino> | ||
| + | #include < | ||
| + | |||
| + | #define TCA62724_ADDR | ||
| + | #define SDA_PIN | ||
| + | #define SCL_PIN | ||
| + | |||
| + | void setup() { | ||
| + | Wire.begin(SDA_PIN, | ||
| + | delay(10); | ||
| + | |||
| + | // Enable the LED driver | ||
| + | Wire.beginTransmission(TCA62724_ADDR); | ||
| + | Wire.write(0x84); | ||
| + | Wire.write(0x03); | ||
| + | Wire.endTransmission(); | ||
| + | |||
| + | // Set Purple: Red=1, Green=0, Blue=1 (lowest brightness) | ||
| + | Wire.beginTransmission(TCA62724_ADDR); | ||
| + | Wire.write(0x81); | ||
| + | Wire.write(1); | ||
| + | Wire.write(0x82); | ||
| + | Wire.write(0); | ||
| + | Wire.write(0x83); | ||
| + | Wire.write(1); | ||
| + | Wire.endTransmission(); | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | // Nothing - LED stays purple | ||
| + | } | ||
| + | </ | ||
here_rtk_kit.1764083500.txt.gz · Last modified: by millerjs
