mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-12-16 08:33:14 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -30,6 +30,13 @@
|
|||||||
#include "esp_crc.h"
|
#include "esp_crc.h"
|
||||||
#include "espnow_example.h"
|
#include "espnow_example.h"
|
||||||
|
|
||||||
|
#include "rc.h"
|
||||||
|
|
||||||
|
#define PROJ_X (1) // ADC1_CH1; 0 GPIO joystick, x-axis
|
||||||
|
#define PROJ_Y (0) // ADC1_CH0; 1 GPIO joystick, y-axis
|
||||||
|
#define NAV_BTN (8) // 8 GPIO joystick button
|
||||||
|
|
||||||
|
|
||||||
#define ESPNOW_MAXDELAY 512
|
#define ESPNOW_MAXDELAY 512
|
||||||
|
|
||||||
static const char *TAG = "espnow_example";
|
static const char *TAG = "espnow_example";
|
||||||
|
|||||||
Reference in New Issue
Block a user