mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
0e3db433fc
commit
743d98d67a
@ -1 +1 @@
|
|||||||
65db547f557ba3c8a28edf735ab84438 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/ESP32-Rainmaker-Switch.bin
|
4b7b5b45c2fdf6ef37fa1397e1c4c0cf C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/ESP32-Rainmaker-Switch.bin
|
||||||
|
Binary file not shown.
@ -1184,3 +1184,20 @@
|
|||||||
14737 15331 7451407202097450 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
14737 15331 7451407202097450 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
||||||
15332 15510 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
15332 15510 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
15332 15510 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
15332 15510 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
207 520 7451392163232668 bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader-prefix/src/bootloader-stamp/bootloader-build be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.elf be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.bin be50754f10ab1bb6
|
||||||
|
207 520 7451392163232668 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/bootloader.map be50754f10ab1bb6
|
||||||
|
219 920 7451410882867754 esp-idf/main/CMakeFiles/__idf_main.dir/app_driver.c.obj 5959b69643102a16
|
||||||
|
927 1211 7451410885773818 esp-idf/main/libmain.a 8df08645a1b22e8a
|
||||||
|
1211 11182 7451410985169368 esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
1211 11182 7451410985169368 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/esp-idf/esp_system/ld/sections.ld ab09ddea2c39cf62
|
||||||
|
11183 14304 7451411016315466 ESP32-Rainmaker-Switch.elf deb2634d5539d691
|
||||||
|
14305 14896 7451411022640310 .bin_timestamp 983b9a5bbba3c76a
|
||||||
|
14305 14896 7451411022640310 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/.bin_timestamp 983b9a5bbba3c76a
|
||||||
|
14897 15066 0 esp-idf/esptool_py/CMakeFiles/app_check_size e2e552add3db6290
|
||||||
|
14897 15066 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
@ -105,3 +105,5 @@
|
|||||||
36 218 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
36 218 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
34 253 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
34 253 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
34 253 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
34 253 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Switch/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
36 210 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 7fa5a58273f3cc6e
|
||||||
|
36 210 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.
@ -61,12 +61,15 @@ static void light_sensor_init(void) {
|
|||||||
|
|
||||||
static void light_sensor_update(TimerHandle_t handle) {
|
static void light_sensor_update(TimerHandle_t handle) {
|
||||||
static float delta = 0.25;
|
static float delta = 0.25;
|
||||||
|
|
||||||
a_light += delta;
|
a_light += delta;
|
||||||
|
|
||||||
|
int adc_value = adc1_get_raw(ADC1_CHANNEL_1);
|
||||||
|
|
||||||
esp_rmaker_param_update_and_report(
|
esp_rmaker_param_update_and_report(
|
||||||
esp_rmaker_device_get_param_by_type(switch_device, ESP_RMAKER_PARAM_TEMPERATURE),
|
esp_rmaker_device_get_param_by_type(switch_device, ESP_RMAKER_PARAM_TEMPERATURE),
|
||||||
esp_rmaker_float(a_light));
|
//esp_rmaker_float(a_light));
|
||||||
int adc_value = adc1_get_raw(ADC1_CHANNEL_1);
|
esp_rmaker_int(adc_value));
|
||||||
|
|
||||||
ESP_LOGI(TAG, "\nSensor value: %i", adc_value);
|
ESP_LOGI(TAG, "\nSensor value: %i", adc_value);
|
||||||
}
|
}
|
||||||
void app_sensor_init(void) {
|
void app_sensor_init(void) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user