mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-31 20:24:17 +00:00
ESP-IDF Robot Controls
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
552150b8638f3e588c87ad0b20dba658b608f96b
|
||||
170d66f2c85cffd361358089837c51db6c431025
|
||||
|
@@ -820,7 +820,8 @@ void app_main(void)
|
||||
/* Check the channel number validation, the data is invalid if the channel num exceed the maximum channel */
|
||||
if (chan_num < SOC_ADC_CHANNEL_NUM(ADC_UNIT)) {
|
||||
ESP_LOGI(TAG, "Unit: %s, Channel: %"PRIu32", Value: %"PRIx32, unit, chan_num, data);
|
||||
ESP_LOGI(TAG, "ADC1_CH0: %d", ADC1_CHANNEL_0_GPIO_NUM);
|
||||
ESP_LOGI(TAG, "ADC1_CH0: %d", ADC1_CHANNEL_0);
|
||||
ESP_LOGI(TAG, "ADC1_CH1: %d", ADC1_CHANNEL_1);
|
||||
} else {
|
||||
ESP_LOGW(TAG, "Invalid data [%s_%"PRIu32"_%"PRIx32"]", unit, chan_num, data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user