mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 15:40:51 +00:00
ESP-NOW Transmitter
This commit is contained in:
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
@@ -27,9 +27,10 @@ typedef struct {
|
|||||||
uint8_t motor4_rpm_pcm;
|
uint8_t motor4_rpm_pcm;
|
||||||
} __attribute__((packed)) sensors_data_t;
|
} __attribute__((packed)) sensors_data_t;
|
||||||
|
|
||||||
//static int x, y; // Joystick x and y positions
|
static int x, y; // Joystick x and y positions
|
||||||
extern adc_oneshot_unit_handle_t adc_xy_handle;
|
extern adc_oneshot_unit_handle_t adc_xy_handle;
|
||||||
extern sensors_data_t buffer;
|
extern sensors_data_t buffer;
|
||||||
|
extern uint8_t receiver_mac[6];
|
||||||
|
|
||||||
int convert_axis_to_pwm(int axis_value);
|
int convert_axis_to_pwm(int axis_value);
|
||||||
void get_joystick_xy_axis(int *x_axis, int *y_axis);
|
void get_joystick_xy_axis(int *x_axis, int *y_axis);
|
||||||
|
Reference in New Issue
Block a user