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 -
Ghost Child
Troubleshooting • 21 days ago • FcNanoLed 18 days ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
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 3 Mar 2025, 01:00 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28