mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 05:03:25 +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 @@
|
||||
b5189db5829b7258aba44a44e72710173aa4e84e
|
||||
c5fdea1ad6131984922363f6869b7dce3fa439ec
|
||||
|
@@ -8,7 +8,7 @@ static unsigned uint8_t x, y;
|
||||
adc_oneshot_unit_handle_t adc1_x_handle;
|
||||
|
||||
static void joystick_get_raw_xy() {
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc1_x_handle, ADC1_CHAN0, &x));
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc1_x_handle, ADC1_CHANNEL_0, &x));
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user