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

21 lines
334 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-07-05 14:02:01 +00:00
#include <fdrs_sensor.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);
}
}