Add RGB Led to Mongoose OS with javascript

Hi!

I have a RGB led that I want to control from an app using a Firebase cloud feature. I already turn on and off the status led of the ESP8266 board but I can’t find information to connect this RGB led with 4 pins (R, G, B and GND) with javascript as language in Mongoose OS.
Any idea?

Thanks!

Regards, Arturo.

The pwm library supports RGB LEDs.

The mgos_pwm_rgb_led_* API is C only, but mJS can be easily implemented.

Ok nliviu. Thanks again :wink:

I’ll check it out.

Regards,

Arturo.