This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "cellular_modem.h" | |
| #include "driver/gpio.h" | |
| #include "esp_event.h" | |
| #include "esp_log.h" | |
| #include "esp_modem_api.h" | |
| #include "esp_modem_c_api_types.h" | |
| #include "esp_modem_dce_config.h" | |
| #include "esp_netif.h" | |
| #include "freertos/FreeRTOS.h" | |
| #include "freertos/task.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ╭─tennis@tennismbp2021 ~/src/walter-positioning | |
| ╰─➤ idf build flash monitor | |
| Executing action: all (aliases: build) | |
| Running ninja in directory /Users/tennis/src/walter-positioning/build | |
| Executing "ninja all"... | |
| [1/4] cd /Users/tennis/src/walter-positioning/build/esp-idf/esptool_py && /Users/tennis/.espressif/python_env/idf5.3...ter-positioning/build/partition_table/partition-table.bin /Users/tennis/src/walter-positioning/build/positioning.bin | |
| positioning.bin binary size 0x57b60 bytes. Smallest app partition is 0x100000 bytes. 0xa84a0 bytes (66%) free. | |
| [1/1] cd /Users/tennis/src/walter-positioning/build/bootloader/esp-idf/esptool_py && /Users/tennis/.espressif/python...e/check_sizes.py --offset 0x8000 bootloader 0x0 /Users/tennis/src/walter-positioning/build/bootloader/bootloader.bin | |
| Bootloader binary size 0x5970 bytes. 0x2690 bytes (30%) free. | |
| [4/4] Completed 'bootloader'Executing action: flash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| THis is a script to light a WS2812b LED strip on a flight of stairs using a | |
| raspberry pi!! | |
| There are 3 sensors utilized: | |
| 1. A light sensor at the top of the stairs to determine if it is light or dark (no need to light stairs in daytime). | |
| 2. A motion sensor at the top of the stairs (to detect someone going down) | |
| 3. A motion sensor at the bottom of the stairs (to detect someone going up) | |
| """ |
OlderNewer