- Arduino MEGA 2560 with Ethernet Shield
- Samsung S8
- Blynk server
- Blynk Library version 2.27.10
I like to work with two table’s. How can I do?
I like to work with two table’s. How can I do?
Is it possible? - yes, of course.
Simply assign a different virtual pin to each table and write the data to each virtual pin.
In this example…
https://examples.blynk.cc/?board=Arduino%20Mega%202560&shield=Ethernet%20Shield%20W5100&example=Widgets%2FTable%2FTable_Simple
Pin V1 is used for the table,
void sendEvent() {
// adding 1 row to table every second
Blynk.virtualWrite(V1, "add", rowIndex, "My Event", millis() / 1000);
//highlighting latest added row in table
Blynk.virtualWrite(V1, "pick", rowIndex);
rowIndex++;
}
You’d have a similar function to write data to V2, assuming that your second table was attached to pin V2.
Pete.
thank’s Pete, I will try