mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 11:30:53 +00:00
espnow autoreconnect
This commit is contained in:
@@ -19,6 +19,7 @@ static adc_oneshot_unit_handle_t adc_xy_handle;
|
|||||||
sensors_data_t buffer;
|
sensors_data_t buffer;
|
||||||
static int x, y; // Joystick x- and y- axis positions
|
static int x, y; // Joystick x- and y- axis positions
|
||||||
static espnow_channel = 1;
|
static espnow_channel = 1;
|
||||||
|
transmission_init();
|
||||||
|
|
||||||
esp_err_t joystick_adc_init(void)
|
esp_err_t joystick_adc_init(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user