Farm-Data-Relay-System/examples/ESPNOW_Stress_Test/ESPNOW_Stress_Test.ino

21 lines
332 B
Arduino
Raw Normal View History

2022-06-19 04:06:03 +00:00
// FARM DATA RELAY SYSTEM
//
// ESP-NOW Stress Tester or "Spammer"
//
// Sends ESP-NOW packets at approximately 60Hz.
//
#include "fdrs_sensor_config.h"
2022-08-26 04:34:29 +00:00
#include <fdrs_node.h>
2022-06-19 04:06:03 +00:00
void setup() {
beginFDRS();
}
void loop() {
for (uint8_t i=0; i < 255; i++) {
2022-06-19 04:06:03 +00:00
loadFDRS(float(i), IT_T);
sendFDRS();
delay(15);
}
}