Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano
Diff: WidgetLED.h
- Revision:
- 7:8879692d4e6c
- Parent:
- 0:58b20b438383
- Child:
- 9:7369ec77a3ea
diff -r b942afadf9be -r 8879692d4e6c WidgetLED.h
--- a/WidgetLED.h Thu Jun 23 23:00:40 2016 +0000
+++ b/WidgetLED.h Wed Oct 12 09:18:39 2016 +0300
@@ -18,30 +18,6 @@
WidgetLED(uint8_t pin) : mPin(pin) {}
void setVPin(int vPin) { mPin = vPin; }
-#ifdef BLYNK_EXPERIMENTAL
-
- void setRGB(uint8_t r, uint8_t g, uint8_t b) {
- char mem[64] = "";
- BlynkParam cmd(mem, 0, sizeof(mem));
- cmd.add("rgb");
- cmd.add(r);
- cmd.add(g);
- cmd.add(b);
- Blynk.virtualWrite(mPin, cmd);
- }
-
- void setHSV(uint8_t h, uint8_t s, uint8_t v) {
- char mem[64] = "";
- BlynkParam cmd(mem, 0, sizeof(mem));
- cmd.add("hsv");
- cmd.add(h);
- cmd.add(s);
- cmd.add(v);
- Blynk.virtualWrite(mPin, cmd);
- }
-
-#endif
-
uint8_t getValue() const {
return mValue;
}