blynk & neopixelring & w7500
Fork of WIZwiki-7500_Blynk by
Diff: WidgetTable.h
- Revision:
- 14:76d8fd871a4d
- Parent:
- 9:7369ec77a3ea
--- a/WidgetTable.h Sun Apr 09 14:50:30 2017 +0300 +++ b/WidgetTable.h Tue Jun 20 00:20:01 2017 +0300 @@ -49,6 +49,11 @@ Blynk.virtualWrite(mPin, "add", index, name, value); } + template <typename T1, typename T2> + void updateRow(int index, const T1& name, const T2& value) { + Blynk.virtualWrite(mPin, "update", index, name, value); + } + void pickRow(int index) { Blynk.virtualWrite(mPin, "pick", index); }