mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 15:20:51 +00:00
RC
This commit is contained in:
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
b05a921fe5a7cd42859ebb0b7536a24c39060f86
|
1ff483386ba19719e47c6b8eb744daeefc5094f0
|
||||||
|
@@ -96,7 +96,7 @@ void sendData (void) {
|
|||||||
buffer.motor3_rpm_pcm = 0;
|
buffer.motor3_rpm_pcm = 0;
|
||||||
buffer.motor4_rpm_pcm = 0;
|
buffer.motor4_rpm_pcm = 0;
|
||||||
|
|
||||||
get_joystick_xy(&buffer.x_axis, &buffer.y_axis);
|
get_joystick_xy(buffer.x_axis, buffer.y_axis);
|
||||||
|
|
||||||
// Display brief summary of data being sent.
|
// Display brief summary of data being sent.
|
||||||
ESP_LOGI(TAG, "Joystick (x,y) position ( %d, %d )", buffer.x_axis, buffer.y_axis);
|
ESP_LOGI(TAG, "Joystick (x,y) position ( %d, %d )", buffer.x_axis, buffer.y_axis);
|
||||||
|
Reference in New Issue
Block a user