Hi guys, I need a help with my first project.
This is my code:
`BLYNK_WRITE(V15){
int j = 7;
int i = param.asInt();
// double d = param.asDouble()
int myBool = digitalRead(myArr[j]);
if (i == 1) {
if (myBool == 1) {
digitalWrite(myArr[j],LOW);
} else {
digitalWrite(myArr[j],HIGH);
}
}
BlynkSetState();
}
BLYNK_READ(V17){
Serial.print(“BLYNK_READ(V17)”);
digitalWrite(V17, bArray[5]);
Serial.println(bArray[5]);
}
/* ----------------------- Blynk push data ----------------------- */
void sendUptime(){
Blynk.virtualWrite(V16, bArray[3]);
//Blynk.virtualWrite(V17, bArray[3]);
}`
Now, when I push the button V15 the LED “myArr[j]” will light correctly and in the arduino serial monitor I see the correct value. Even for the sendUptime function when the V16 graph is uptaded in the right way.
The problem is for the Value Display V17… the Arduino Serial Monitor show me that the function BLYNK_READ(V17) is called but it seems that the “digitalWrite(V17, bArray[5]);” isn’t execetued on the Blynk apps … I cannot see any value in the Value DispLAy.