mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-11-03 01:28:02 +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 @@
|
||||
ea67673192d24a410cadb75dfa9e08fde8bec56e
|
||||
551e677131d818b26a7059006a6755c66eb8b50d
|
||||
|
||||
@@ -40,7 +40,7 @@ static void joystick_show_raw_xy() {
|
||||
ESP_LOGI("(x,y)", "( %d, %d )", x, y);
|
||||
}
|
||||
|
||||
static void get_joystick_xy(int** x_axis, int** y_axis) {
|
||||
static void get_joystick_xy(int* x_axis, int* y_axis) {
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC1_CHANNEL_0, &x_axis));
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC1_CHANNEL_1, &y_axis));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user