mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 13:48:52 +00:00
ESP-NOW Transmitter
This commit is contained in:
@@ -40,15 +40,9 @@
|
|||||||
|
|
||||||
const char *TAG = "ESP-NOW_Transmitter";
|
const char *TAG = "ESP-NOW_Transmitter";
|
||||||
esp_now_peer_info_t devices;
|
esp_now_peer_info_t devices;
|
||||||
static int x, y; // Joystick x- and y- axis positions
|
|
||||||
|
|
||||||
sensors_data_t buffer;
|
sensors_data_t buffer;
|
||||||
|
|
||||||
//static sensors_data_t buffer;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void joystick_task(void *arg) {
|
void joystick_task(void *arg) {
|
||||||
while (true) {
|
while (true) {
|
||||||
joystick_show_raw_xy();
|
joystick_show_raw_xy();
|
||||||
|
Reference in New Issue
Block a user