ESP-NOW Transmitter

This commit is contained in:
2025-06-17 23:49:04 -04:00
parent fceb74e1ca
commit 6c98d9f962
2 changed files with 2 additions and 1 deletions

View File

@@ -27,9 +27,10 @@ typedef struct {
uint8_t motor4_rpm_pcm;
} __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 sensors_data_t buffer;
extern uint8_t receiver_mac[6];
int convert_axis_to_pwm(int axis_value);
void get_joystick_xy_axis(int *x_axis, int *y_axis);