Hi,
I am trying to create a mesh network using nrf52832 for RGB lights. I am using nrf Connect SDK to build the project. Is there any sample code for RGB that can be integrated with nRF52832?
Regards,
Shreya
Hi,
I am trying to create a mesh network using nrf52832 for RGB lights. I am using nrf Connect SDK to build the project. Is there any sample code for RGB that can be integrated with nRF52832?
Regards,
Shreya
Hi Shreya,
Are you looking for sample code for controlling a RGB LED or a sample using the Light HSL Mesh model for RGB?
There is a sample project for driving an RGB LED using PWM in Zephyr, PWM: RGB LED. You will have to configure the LED PWM channels in the board's devicetree as described under "Requirements" in the sample documentation. You can do this by creating a nrf52dk_nrf52832.overlay file as Håkon described in one of your other cases here, and by adding the aliases red-pwm-led, green-pwm-led and blue-pwm-led.
There are no samples in NCS using the Light HSL model as of now, but you can start with one of the existing Mesh samples and add it. The documentation for the Light HSL models describes how to use it with RGB LED hardware.
Best regards,
Marte
Hi Marte,
Thanks for replying. I was looking for sample in NCS using Light HSL model.
Regards,
Shreya