mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
Module internal temperature sensor.
This commit is contained in:
parent
83741e013a
commit
45d904d2b3
@ -1 +1 @@
|
|||||||
8e39d502fbd074636606d9b65df472bb C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/ESP32-Rainmaker-Switch.bin
|
9f22de4abfe93e1572089b85969218a1 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/ESP32-Rainmaker-Switch.bin
|
||||||
|
Binary file not shown.
@ -1147,3 +1147,37 @@
|
|||||||
243874 244447 7451436474835583 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
243874 244447 7451436474835583 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
||||||
244448 244625 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
244448 244625 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
244448 244625 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
244448 244625 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
373 1261 7451435038420539 bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
373 1261 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
398 1341 7451699969203413 esp-idf/main/CMakeFiles/__idf_main.dir/app_driver.c.obj 5959b69643102a16
|
||||||
|
1346 1614 7451699971986081 esp-idf/main/libmain.a 8df08645a1b22e8a
|
||||||
|
1616 12359 7451700079182959 esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
1616 12359 7451700079182959 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
12359 15419 7451700109666516 ESP32-Rainmaker-Switch.elf deb2634d5539d691
|
||||||
|
15420 16015 7451700116044571 .bin_timestamp 983b9a5bbba3c76a
|
||||||
|
15420 16015 7451700116044571 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
||||||
|
16016 16185 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
16016 16185 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
230 551 7451435038420539 bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
230 551 7451435038420539 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
242 836 7451701986652865 esp-idf/main/CMakeFiles/__idf_main.dir/app_driver.c.obj 5959b69643102a16
|
||||||
|
839 978 7451701988067845 esp-idf/main/libmain.a 8df08645a1b22e8a
|
||||||
|
979 11172 7451702089674974 esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
979 11172 7451702089674974 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
11172 14078 7451702118645709 ESP32-Rainmaker-Switch.elf deb2634d5539d691
|
||||||
|
14079 14724 7451702125527297 .bin_timestamp 983b9a5bbba3c76a
|
||||||
|
14079 14724 7451702125527297 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
||||||
|
14724 14930 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
14724 14930 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -99,3 +99,7 @@
|
|||||||
34404 36558 7451435415954330 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/.bin_timestamp 4f0521f7b4947927
|
34404 36558 7451435415954330 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/.bin_timestamp 4f0521f7b4947927
|
||||||
36559 36932 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
36559 36932 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
36559 36932 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
36559 36932 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
40 562 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
40 562 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
36 225 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
36 225 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -76,9 +76,9 @@ static void light_sensor_update(TimerHandle_t handle) {
|
|||||||
esp_rmaker_device_get_param_by_type(temp_sensor_device, ESP_RMAKER_PARAM_TEMPERATURE),
|
esp_rmaker_device_get_param_by_type(temp_sensor_device, ESP_RMAKER_PARAM_TEMPERATURE),
|
||||||
esp_rmaker_float((float)a_light_raw));
|
esp_rmaker_float((float)a_light_raw));
|
||||||
|
|
||||||
ESP_LOGI(TAG, "\nSensor value: %i", a_light_raw);
|
ESP_LOGI(TAG, "\nAmbient light sensor value: %i", a_light_raw);
|
||||||
ESP_ERROR_CHECK(temperature_sensor_get_celsius(temp_sensor, &tsens_value));
|
ESP_ERROR_CHECK(temperature_sensor_get_celsius(temp_sensor, &tsens_value));
|
||||||
ESP_LOGI(TAG, "Temperature sensor: %0.2f", tsens_value);
|
ESP_LOGI(TAG, "\nESP32-C3 Module temperature: %0.2f", tsens_value);
|
||||||
}
|
}
|
||||||
void app_sensor_init(void) {
|
void app_sensor_init(void) {
|
||||||
//esp_err_t app_sensor_init(void) {
|
//esp_err_t app_sensor_init(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user