mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-25 18:32:32 +00:00
.
This commit is contained in:
@@ -1 +1 @@
|
||||
ref: refs/heads/main
|
||||
3b8741b172dc951e18509698dee938304bcf1523
|
||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
||||
file(READ "C:/Users/alex/github/ESP-Nodes/ESP32-IDF_BMP280/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||
|
||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||
set(GIT_DIR "C:/Users/alex/github/ESP-Nodes/.git")
|
||||
set(GIT_DIR "C:/Users/alex/esp/v5.2.2/esp-idf/.git")
|
||||
# handle git-worktree
|
||||
if(EXISTS "${GIT_DIR}/commondir")
|
||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||
|
@@ -1 +1 @@
|
||||
8bfb1ebc084cfaa22d3e29da1a6c9d246901cfe8
|
||||
3b8741b172dc951e18509698dee938304bcf1523
|
||||
|
@@ -185,6 +185,10 @@ void app_main(void)
|
||||
for (int i = 0; i < len; i++) {
|
||||
ESP_LOGI(TAG, "Device ID is: 0x%X", data[i]);
|
||||
//printf("0x%02x ", data[i]);
|
||||
if (data[i] == 0x60)
|
||||
ESP_LOGI(TAG, "BME-280");
|
||||
if (data[i] == 0x58)
|
||||
ESP_LOGI(TAG, "BMP-280");
|
||||
}
|
||||
} else if (cmd_ret == ESP_ERR_TIMEOUT) {
|
||||
ESP_LOGW(TAG, "Bus is busy");
|
||||
|
Reference in New Issue
Block a user