mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-29 20:38:04 +00:00
ESP32-C3 RC & Receiver
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
/* ESPNOW Example
|
||||
/* ESP-NOW Remote Controller & Receiver
|
||||
|
||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
||||
by: Alexander Bobkov
|
||||
Jan 4, 2025
|
||||
|
||||
Program that sends values saved in struct from controller device to the receiver using ESP-NOW communication protocol.
|
||||
|
||||
Unless required by applicable law or agreed to in writing, this
|
||||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
|
||||
/*
|
||||
This example shows how to use ESPNOW.
|
||||
Prepare two device, one for sending ESPNOW data and another for receiving
|
||||
ESPNOW data.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
@@ -30,7 +25,7 @@
|
||||
#include "esp_crc.h"
|
||||
|
||||
|
||||
#define ESPNOW_MAXDELAY 512
|
||||
//#define ESPNOW_MAXDELAY 512
|
||||
|
||||
typedef struct {
|
||||
uint8_t type; // Broadcast or unicast ESPNOW data.s
|
||||
|
Reference in New Issue
Block a user