fixed code :)

This commit is contained in:
Timm Bogner 2021-03-12 08:49:35 -06:00 committed by GitHub
parent 4a70c6bc1b
commit 93091ec125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,12 +28,6 @@ bool newData = false;
int wait_time = 0;
void passForward() {
for (int i = 0; i < 6; i++) {
theData[i].n = i;
theData[i].d = i;
theData[i].t = 3.2*i;
theData[i].h = 2.1*i;
}
Serial.println("Passing On");
esp_now_send(nextAddress, (uint8_t *) &theData, sizeof(theData));
}