Send V_RGB value to Controller ?
-
Guys, how can I send a V_RGB value, like "FF00FF" to the controller ? If the "gw.send" function just support 8 bit data ? it have to go as string ?
-
@joaopaulo The V_RGB is defined to be a character array (string) type. (gw.send supports many data types, look at the API)
-
If I want to send "FFFFFF" value, that means a white color, then I can send like this:
gw.send( RGBChoose.set("FFFFFF", 9 ));
??
-
Yes, should work just fine.
1 out of 4
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 26 days ago • bocalexandru 24 days ago -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 5 days ago • Commodoreuno a day ago