Added initial support for Texas Instruments LP5562#6381
Conversation
|
|
|
For additional context, if you want to test it, don't forget to update your variant.hplatformio.iniThe work in progress Arduino library for the LP5562 can be found here: NomadStar-outdoor/IOBoard-RGB-LP5562-Library |
|
So far the code compile but no success yet with the LED status. We are working on it and will update this PR. |
|
Success 🎉, the issue was the ti LP5562 initialization in our Arduino lib and how we wrote into registers. platformio.iniNow that everything works on the firmware side I'll try to refactor the code to support further RBG controller addition in the future in a way that limit the spread of |
|
Hiiii 👋, I've refactor as much code as possible and introduced a What are your thoughts about it, should we merge as is ? |
caveman99
left a comment
There was a problem hiding this comment.
LGTM, please see inline comments for some nitpicking.
|
Also please run |
|
Thanks a lot for the reviews, feedback and the merge ! ❤️ 🎉 |
* TCA8418 with base config for 3x4 keypad * replaced k with uppercase K * change detection method * reflect changes #6381 --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This reverts commit ef18a9b. Fixes meshtastic#6683, I have not tried to understand *why* this work, this was found by `git bisect`: ``` git bisect start # status: waiting for both good and bad commits # bad: [b4e8f7d] Update Adafruit BusIO digest to 159f86a (meshtastic#6681) git bisect bad b4e8f7d # status: waiting for good commit(s), bad commit known # good: [6429eca] udp-multicast: do not listen for incoming udp multicast packets if disabled (meshtastic#6397) git bisect good 6429eca # bad: [1b1d462] chore: update ubx.h (meshtastic#6522) git bisect bad 1b1d462 # good: [89cde1a] udp-multicast: bump platform-native to UDP with error handling support (meshtastic#6433) git bisect good 89cde1a # good: [2c01fad] meshtasticd: Add FrequencyLabs MeshAdv-Mini Hat (meshtastic#6458) git bisect good 2c01fad # bad: [0110275] Revert "Try-fix ESP32 wifi disconnects (meshtastic#6363)" (meshtastic#6493) git bisect bad 0110275 # bad: [ef18a9b] meshtasticd: Set available.d dir in yaml (meshtastic#6481) git bisect bad ef18a9b # good: [ea4ce8d] MUI unPhone-tft: fix defaults (meshtastic#6477) git bisect good ea4ce8d # good: [f6ed10f] Added initial support for Texas Instruments LP5562 (meshtastic#6381) git bisect good f6ed10f # good: [67fddcc] Upgrade trunk (meshtastic#6480) git bisect good 67fddcc # first bad commit: [ef18a9b] meshtasticd: Set available.d dir in yaml (meshtastic#6481) ``` I have tested this patch and it does work as expected after reverting.
Hi there 👋,
Our beloved NCP5623 RBG/LCD controller has reached it's retirement age and became
discontinued. One potential replacement for the RGB controller part could be the Texas Instruments LP5562 RGBW.The goal of this PR draft would be to integrate the LP5562 into the Meshtastic firmware and start this implementation by integrating it into the external notification module. Support for Ambient lighting would also be handy.
Feel free to hop on-board, feedback and comments are very welcome 🚀