mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
fixed code :)
This commit is contained in:
parent
4a70c6bc1b
commit
93091ec125
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user