From 90c7ddda694757c1556f7545d45aacf388b20aee Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Sun, 1 Jan 2023 16:47:30 +0100 Subject: [PATCH] Prepare for pio --- Abfall_API.md | 4 ++++ src/CMakeLists.txt | 1 + src/ws2812.pio | 1 + 3 files changed, 6 insertions(+) create mode 100644 src/ws2812.pio diff --git a/Abfall_API.md b/Abfall_API.md index 8ec9008..c9eb561 100644 --- a/Abfall_API.md +++ b/Abfall_API.md @@ -111,3 +111,7 @@ Upgrade-Insecure-Requests : 1 Body: [{"key":"e2368c5c4cf4e863ea77c5649c17f9cf","value":"121c322b9e8e8bf0e46c93812449e484"},{"key":"f_abfallarten","value":"31,50,19,17,44"},{"key":"f_abfallarten_index_max","value":"5"},{"key":"f_export_als","value":"{'action':'https://api.abfall.io/?key=514199db585ea04541fe70feead6315f&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_csv','target':''}"},{"key":"f_id_abfalltyp_0","value":"31"},{"key":"f_id_abfalltyp_1","value":"50"},{"key":"f_id_abfalltyp_2","value":"19"},{"key":"f_id_abfalltyp_3","value":"17"},{"key":"f_id_abfalltyp_4","value":"44"},{"key":"f_id_kommune","value":"1258"},{"key":"f_id_strasse","value":"1258eichendorffstrasse"},{"key":"f_id_strasse_hnr","value":"25938"},{"key":"f_posts_json[]","value":"a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}"},{"key":"f_posts_json[]","value":"a:4:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:0:{}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";}"},{"key":"f_posts_json[]","value":"a:5:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:1:{i:0;s:117:\"a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}\";}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";s:16:\"f_id_strasse_hnr\";s:5:\"25938\";}"},{"key":"f_zeitraum","value":"20220101-20221231"}] ``` + +## Sonstiges + +* WS2812 Lib: https://github.com/ForsakenNGS/Pico_WS2812 \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 46185b0..2f4af26 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -39,6 +39,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME} pico_lwip_http pico_lwip_sntp hardware_rtc + hardware_pio ) pico_add_extra_outputs(${CMAKE_PROJECT_NAME}) diff --git a/src/ws2812.pio b/src/ws2812.pio new file mode 100644 index 0000000..12f9840 --- /dev/null +++ b/src/ws2812.pio @@ -0,0 +1 @@ +.program ws2812