Hello, friends.
I´m running a project with device selector and it´s doing great. I wish to upgrade and start using table widget to register events with date and time. I´m using terminal now but the interface is not ok.
I followed instructions and reproduce same logic of examples but the table dont receive any data. I read in some older topics about issues running table with device selector but I found one Dmitriy´s post informing that this problem was solved. Can anyone confirm if table can run with device selector?
Thanks.
I’m not sure what sort of responses you’re expecting to get based on the information you’ve provided.
I’d say that without screenshots, widget setup details and code then you’re unlikely to get much practical help with your issue.
Pete.
Pete.
Thanks for reply.
Bellow is a part of code that suposed to register on table a line when V1 is activated on app.
Everything is running ok except the table that remain with “No data.” message.
BLYNK_WRITE(V1){ //get value
if(param.asInt() == 1) { //if value is 1 run command
startLav++; //washer counter
Blynk.virtualWrite(V6, startLav); //update start washer counter
Blynk.virtualWrite(V12, "add", rowIndex, "Lavadora acionada", displayDateTime); //register table
Blynk.virtualWrite(V12, "pick", rowIndex);
rowIndex ++;
Serial.println("Lavadora acionada.");
digitalWrite(LED, HIGH); //activate led
digitalWrite(LAV, HIGH); //activate washer start pin
timer1.setTimeout(500L, resetLav); //reset pin in 500ms
if(resLav > 0) {
Blynk.virtualWrite(V3, HIGH); //set washer status to busy (machine without status pin)
lavSt = 1;
timer1.setTimeout(resLav, resetlavStatus); //reset pin as slider
}
}
}