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 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 25 days ago • bocalexandru 23 days ago -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 4 days ago • Commodoreuno about 5 hours ago