mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 18:40:52 +00:00
ESP-NOW Transmitter
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
#include "freertos/timers.h"
|
#include "freertos/timers.h"
|
||||||
#include "esp_event.h"*/
|
#include "esp_event.h"*/
|
||||||
|
|
||||||
#include "config.h"
|
//#include "config.h"
|
||||||
|
|
||||||
//static int x, y; // Joystick x and y positions
|
//static int x, y; // Joystick x and y positions
|
||||||
//static adc_oneshot_unit_handle_t adc_xy_handle;
|
//static adc_oneshot_unit_handle_t adc_xy_handle;
|
||||||
@@ -27,7 +27,7 @@ typedef struct {
|
|||||||
uint8_t motor4_rpm_pcm;
|
uint8_t motor4_rpm_pcm;
|
||||||
} __attribute__((packed)) sensors_data_t;
|
} __attribute__((packed)) sensors_data_t;
|
||||||
|
|
||||||
int x, y; // Joystick x and y positions
|
static int x, y; // Joystick x and y positions
|
||||||
adc_oneshot_unit_handle_t adc_xy_handle;
|
adc_oneshot_unit_handle_t adc_xy_handle;
|
||||||
sensors_data_t buffer;
|
sensors_data_t buffer;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user