Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/

Dependents:   Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano

Revision:
14:76d8fd871a4d
Parent:
9:7369ec77a3ea
diff -r ed6276c0afb7 -r 76d8fd871a4d WidgetTable.h
--- 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);
     }