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 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 29 days ago -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 4 days ago -
Ghost Child
Troubleshooting • 17 days ago • FcNanoLed 13 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 12 days ago • bocalexandru 11 days ago