mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-09 15:35:26 +00:00
RC
This commit is contained in:
@@ -99,6 +99,8 @@ void sendData (void) {
|
||||
|
||||
get_joystick_xy(&x, &y);
|
||||
ESP_LOGI("(x, y)", "[ %d, %d ]", x, y);
|
||||
buffer.x_axis = x;
|
||||
buffer.y_axis = y;
|
||||
|
||||
// Display brief summary of data being sent.
|
||||
ESP_LOGI(TAG, "Joystick (x,y) position ( %d, %d )", buffer.x_axis, buffer.y_axis);
|
||||
|
Reference in New Issue
Block a user