diff --git a/Firmware/BentoFlow/platformio.ini b/Firmware/BentoFlow/platformio.ini
index 24cecae1..aa093bc9 100644
--- a/Firmware/BentoFlow/platformio.ini
+++ b/Firmware/BentoFlow/platformio.ini
@@ -9,10 +9,10 @@
; https://docs.platformio.org/page/projectconf.html
[platformio]
-default_envs = esp32
+default_envs = bentoflow
[base]
-board = clarinet
+board = lightbulb
framework = arduino
lib_deps =
https://github.com/adafruit/Adafruit_BNO055.git#1.4.3
@@ -26,7 +26,7 @@ lib_deps =
https://github.com/jshaw/SimplexNoise
WebServer
fastled/FastLED @ ^3.5.0
- benkuper/OSC @ ^1.0.0
+ https://github.com/benkuper/OSC
bblanchon/ArduinoJson @ ^6.21.2
monitor_speed = 115200
@@ -57,7 +57,7 @@ lib_deps =
https://github.com/jshaw/SimplexNoise
WebServer
fastled/FastLED @ ^3.5.0
- benkuper/OSC @ ^1.0.0
+ https://github.com/benkuper/OSC
bblanchon/ArduinoJson @ ^6.21.2
[env:bentoflow]
diff --git a/Firmware/BentoFlow/src/common/config/config_lamp.h b/Firmware/BentoFlow/src/common/config/config_lamp.h
index 6d66c5bf..d7952d59 100644
--- a/Firmware/BentoFlow/src/common/config/config_lamp.h
+++ b/Firmware/BentoFlow/src/common/config/config_lamp.h
@@ -11,7 +11,7 @@
// main leds config
#define LED_COUNT 30
-#define LED_DATA_PIN 15
+#define LED_DATA_PIN 5
#define LED_TYPE WS2812B
#define LED_COLOR_ORDER GRB
#define LED_MAX_BRIGHTNESS 200
diff --git a/Firmware/BentoFlowCreator/.vscode/arduino.json b/Firmware/BentoFlowCreator/.vscode/arduino.json
deleted file mode 100644
index c0dd59bf..00000000
--- a/Firmware/BentoFlowCreator/.vscode/arduino.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "sketch": "BentoFlowCreator.ino",
- "configuration": "PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none",
- "board": "esp32:esp32:esp32",
- "port": "COM29",
- "output": "../ArduinoOutput"
-}
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/.vscode/c_cpp_properties.json b/Firmware/BentoFlowCreator/.vscode/c_cpp_properties.json
deleted file mode 100644
index 1fa8b171..00000000
--- a/Firmware/BentoFlowCreator/.vscode/c_cpp_properties.json
+++ /dev/null
@@ -1,598 +0,0 @@
-{
- "version": 4,
- "configurations": [
- {
- "name": "Win32",
- "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe",
- "compilerArgs": [],
- "intelliSenseMode": "msvc-x64",
- "includePath": [
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.6.3\\**",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\**",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\**",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\**",
- "${workspaceFolder}/**",
- "${workspaceFolder}",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6\\**",
- "C:\\Program Files (x86)\\Arduino\\libraries\\**",
- "D:\\Documents\\Arduino\\libraries\\**",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\**"
- ],
- "forcedInclude": [],
- "cStandard": "c11",
- "cppStandard": "c++17",
- "defines": [
- "_DEBUG",
- "UNICODE",
- "_UNICODE",
- "USBCON"
- ]
- },
- {
- "name": "Arduino",
- "compilerPath": "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\bin\\xtensa-esp32-elf-g++",
- "compilerArgs": [
- "-mlongcalls",
- "-Wno-frame-address",
- "-ffunction-sections",
- "-fdata-sections",
- "-Wno-error=unused-function",
- "-Wno-error=unused-variable",
- "-Wno-error=deprecated-declarations",
- "-Wno-unused-parameter",
- "-Wno-sign-compare",
- "-freorder-blocks",
- "-Wwrite-strings",
- "-fstack-protector",
- "-fstrict-volatile-bitfields",
- "-Wno-error=unused-but-set-variable",
- "-fno-jump-tables",
- "-fno-tree-switch-conversion",
- "-std=gnu++11",
- "-fexceptions",
- "-fno-rtti"
- ],
- "intelliSenseMode": "gcc-x64",
- "includePath": [
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\config",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\newlib\\platform_include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\freertos\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\freertos\\include\\esp_additions\\freertos",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\freertos\\port\\xtensa\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\freertos\\include\\esp_additions",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_hw_support\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_hw_support\\include\\soc",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_hw_support\\include\\soc\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_hw_support\\port\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\heap\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\log\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\lwip\\include\\apps",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\lwip\\include\\apps\\sntp",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\lwip\\lwip\\src\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\lwip\\port\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\lwip\\port\\esp32\\include\\arch",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\soc\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\soc\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\soc\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\hal\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\hal\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\hal\\platform_port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_rom\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_rom\\include\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_rom\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_common\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_system\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_system\\port\\soc",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_system\\port\\public_compat",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\xtensa\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\xtensa\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\driver\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\driver\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_pm\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_ringbuf\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\efuse\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\efuse\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\vfs\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_wifi\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_event\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_netif\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_eth\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\tcpip_adapter\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_phy\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_phy\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_ipc\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\app_trace\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_timer\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\mbedtls\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\mbedtls\\mbedtls\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\mbedtls\\esp_crt_bundle\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\app_update\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\spi_flash\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bootloader_support\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\nvs_flash\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\pthread\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_gdbstub\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_gdbstub\\xtensa",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_gdbstub\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\espcoredump\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\espcoredump\\include\\port\\xtensa",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\wpa_supplicant\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\wpa_supplicant\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\wpa_supplicant\\esp_supplicant\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\ieee802154\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\console",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\asio\\asio\\asio\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\asio\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\common\\osi\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\include\\esp32\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\common\\api\\include\\api",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\common\\btc\\profile\\esp\\blufi\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\common\\btc\\profile\\esp\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\bt\\host\\bluedroid\\api\\include\\api",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\cbor\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\unity\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\unity\\unity\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\cmock\\CMock\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\coap\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\coap\\libcoap\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\nghttp\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\nghttp\\nghttp2\\lib\\includes",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-tls",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-tls\\esp-tls-crypto",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_adc_cal\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_hid\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\tcp_transport\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_http_client\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_http_server\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_https_ota\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_lcd\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_lcd\\interface",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\protobuf-c\\protobuf-c",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\protocomm\\include\\common",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\protocomm\\include\\security",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\protocomm\\include\\transports",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\mdns\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_local_ctrl\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\sdmmc\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_serial_slave_link\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_websocket_client\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\expat\\expat\\expat\\lib",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\expat\\port\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\wear_levelling\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\fatfs\\diskio",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\fatfs\\vfs",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\fatfs\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\freemodbus\\common\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\idf_test\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\idf_test\\include\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\jsmn\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\json\\cJSON",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\libsodium\\libsodium\\src\\libsodium\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\libsodium\\port_include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\mqtt\\esp-mqtt\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\openssl\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\perfmon\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\spiffs\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\ulp\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\wifi_provisioning\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\button\\button\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\json_parser",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\json_parser\\jsmn\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\json_generator",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_schedule\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_rainmaker\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\qrcode\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\ws2812_led",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_littlefs\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp_littlefs\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\dotprod\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\support\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\hann\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\blackman\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\blackman_harris\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\blackman_nuttall\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\nuttall\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\windows\\flat_top\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\iir\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\fir\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\add\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\sub\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\mul\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\addc\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\mulc\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\math\\sqrt\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\matrix\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\fft\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\dct\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\conv\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\common\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\kalman\\ekf\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-dsp\\modules\\kalman\\ekf_imu13states\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\tool",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\typedef",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\image",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\math",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\nn",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\layer",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\detect",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp-face\\include\\model_zoo",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp32-camera\\driver\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\esp32-camera\\conversions\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\tools\\sdk\\esp32\\include\\fb_gfx\\include",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\cores\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\variants\\esp32",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\Preferences\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\WiFi\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\ESPmDNS\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SPI\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SD\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\FS\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\WebServer\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\Wire\\src",
- "D:\\Documents\\Arduino\\libraries\\Wasm3\\src",
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SPIFFS\\src",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\xtensa-esp32-elf\\include\\c++\\8.4.0",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\xtensa-esp32-elf\\include\\c++\\8.4.0\\xtensa-esp32-elf",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\xtensa-esp32-elf\\include\\c++\\8.4.0\\backward",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\lib\\gcc\\xtensa-esp32-elf\\8.4.0\\include",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\lib\\gcc\\xtensa-esp32-elf\\8.4.0\\include-fixed",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\xtensa-esp32-elf\\sys-include",
- "c:\\users\\bkupe\\appdata\\local\\arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2\\xtensa-esp32-elf\\include"
- ],
- "forcedInclude": [
- "C:\\Users\\bkupe\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\cores\\esp32\\Arduino.h"
- ],
- "cStandard": "c11",
- "cppStandard": "c++11",
- "defines": [
- "HAVE_CONFIG_H",
- "MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"",
- "UNITY_INCLUDE_CONFIG_H",
- "WITH_POSIX",
- "_GNU_SOURCE",
- "IDF_VER=\"v4.4-dev-3569-g6a7d83af19-dirty\"",
- "ESP_PLATFORM",
- "F_CPU=240000000L",
- "ARDUINO=10816",
- "ARDUINO_ESP32_DEV",
- "ARDUINO_ARCH_ESP32",
- "ARDUINO_BOARD=\"ESP32_DEV\"",
- "ARDUINO_VARIANT=\"esp32\"",
- "ARDUINO_PARTITION_default",
- "ESP32",
- "CORE_DEBUG_LEVEL=0",
- "ARDUINO_RUNNING_CORE=1",
- "ARDUINO_EVENT_RUNNING_CORE=1",
- "ARDUINO_USB_CDC_ON_BOOT=0",
- "__DBL_MIN_EXP__=(-1021)",
- "__FLT32X_MAX_EXP__=1024",
- "__cpp_attributes=200809",
- "__UINT_LEAST16_MAX__=0xffff",
- "__ATOMIC_ACQUIRE=2",
- "__FLT_MIN__=1.1754943508222875e-38F",
- "__GCC_IEC_559_COMPLEX=0",
- "__cpp_aggregate_nsdmi=201304",
- "__UINT_LEAST8_TYPE__=unsigned char",
- "__INTMAX_C(c)=c ## LL",
- "__CHAR_BIT__=8",
- "__UINT8_MAX__=0xff",
- "__WINT_MAX__=0xffffffffU",
- "__FLT32_MIN_EXP__=(-125)",
- "__cpp_static_assert=200410",
- "__ORDER_LITTLE_ENDIAN__=1234",
- "__SIZE_MAX__=0xffffffffU",
- "__WCHAR_MAX__=0xffff",
- "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1",
- "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1",
- "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1",
- "__DBL_DENORM_MIN__=double(4.9406564584124654e-324L)",
- "__GCC_ATOMIC_CHAR_LOCK_FREE=2",
- "__GCC_IEC_559=0",
- "__FLT32X_DECIMAL_DIG__=17",
- "__FLT_EVAL_METHOD__=0",
- "__cpp_binary_literals=201304",
- "__FLT64_DECIMAL_DIG__=17",
- "__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2",
- "__cpp_variadic_templates=200704",
- "__UINT_FAST64_MAX__=0xffffffffffffffffULL",
- "__SIG_ATOMIC_TYPE__=int",
- "__DBL_MIN_10_EXP__=(-307)",
- "__FINITE_MATH_ONLY__=0",
- "__cpp_variable_templates=201304",
- "__GNUC_PATCHLEVEL__=0",
- "__FLT32_HAS_DENORM__=1",
- "__UINT_FAST8_MAX__=0xffffffffU",
- "__has_include(STR)=__has_include__(STR)",
- "__DEC64_MAX_EXP__=385",
- "__INT8_C(c)=c",
- "__INT_LEAST8_WIDTH__=8",
- "__UINT_LEAST64_MAX__=0xffffffffffffffffULL",
- "__SHRT_MAX__=0x7fff",
- "__LDBL_MAX__=1.7976931348623157e+308L",
- "__UINT_LEAST8_MAX__=0xff",
- "__GCC_ATOMIC_BOOL_LOCK_FREE=2",
- "__UINTMAX_TYPE__=long long unsigned int",
- "__DEC32_EPSILON__=1E-6DF",
- "__FLT_EVAL_METHOD_TS_18661_3__=0",
- "__CHAR_UNSIGNED__=1",
- "__UINT32_MAX__=0xffffffffU",
- "__GXX_EXPERIMENTAL_CXX0X__=1",
- "__LDBL_MAX_EXP__=1024",
- "__WINT_MIN__=0U",
- "__INT_LEAST16_WIDTH__=16",
- "__SCHAR_MAX__=0x7f",
- "__WCHAR_MIN__=0",
- "__INT64_C(c)=c ## LL",
- "__DBL_DIG__=15",
- "__GCC_ATOMIC_POINTER_LOCK_FREE=2",
- "__SIZEOF_INT__=4",
- "__SIZEOF_POINTER__=4",
- "__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2",
- "__USER_LABEL_PREFIX__",
- "__STDC_HOSTED__=1",
- "__LDBL_HAS_INFINITY__=1",
- "__XTENSA_EL__=1",
- "__FLT32_DIG__=6",
- "__FLT_EPSILON__=1.1920928955078125e-7F",
- "__GXX_WEAK__=1",
- "__SHRT_WIDTH__=16",
- "__LDBL_MIN__=2.2250738585072014e-308L",
- "__DEC32_MAX__=9.999999E96DF",
- "__cpp_threadsafe_static_init=200806",
- "__FLT32X_HAS_INFINITY__=1",
- "__INT32_MAX__=0x7fffffff",
- "__INT_WIDTH__=32",
- "__SIZEOF_LONG__=4",
- "__UINT16_C(c)=c",
- "__PTRDIFF_WIDTH__=32",
- "__DECIMAL_DIG__=17",
- "__FLT64_EPSILON__=2.2204460492503131e-16F64",
- "__INTMAX_WIDTH__=64",
- "__FLT64_MIN_EXP__=(-1021)",
- "__has_include_next(STR)=__has_include_next__(STR)",
- "__LDBL_HAS_QUIET_NAN__=1",
- "__FLT64_MANT_DIG__=53",
- "__GNUC__=8",
- "__GXX_RTTI=1",
- "__cpp_delegating_constructors=200604",
- "__FLT_HAS_DENORM__=1",
- "__SIZEOF_LONG_DOUBLE__=8",
- "__BIGGEST_ALIGNMENT__=16",
- "__STDC_UTF_16__=1",
- "__FLT64_MAX_10_EXP__=308",
- "__FLT32_HAS_INFINITY__=1",
- "__DBL_MAX__=double(1.7976931348623157e+308L)",
- "__cpp_raw_strings=200710",
- "__INT_FAST32_MAX__=0x7fffffff",
- "__DBL_HAS_INFINITY__=1",
- "__DEC32_MIN_EXP__=(-94)",
- "__INTPTR_WIDTH__=32",
- "__FLT32X_HAS_DENORM__=1",
- "__INT_FAST16_TYPE__=int",
- "__LDBL_HAS_DENORM__=1",
- "__cplusplus=201402L",
- "__cpp_ref_qualifiers=200710",
- "__DEC128_MAX__=9.999999999999999999999999999999999E6144DL",
- "__INT_LEAST32_MAX__=0x7fffffff",
- "__DEC32_MIN__=1E-95DF",
- "__DEPRECATED=1",
- "__cpp_rvalue_references=200610",
- "__DBL_MAX_EXP__=1024",
- "__WCHAR_WIDTH__=16",
- "__FLT32_MAX__=3.4028234663852886e+38F32",
- "__DEC128_EPSILON__=1E-33DL",
- "__PTRDIFF_MAX__=0x7fffffff",
- "__FLT32_HAS_QUIET_NAN__=1",
- "__GNUG__=8",
- "__LONG_LONG_MAX__=0x7fffffffffffffffLL",
- "__SIZEOF_SIZE_T__=4",
- "__cpp_rvalue_reference=200610",
- "__cpp_nsdmi=200809",
- "__SIZEOF_WINT_T__=4",
- "__LONG_LONG_WIDTH__=64",
- "__cpp_initializer_lists=200806",
- "__FLT32_MAX_EXP__=128",
- "__cpp_hex_float=201603",
- "__GXX_ABI_VERSION=1013",
- "__FLT_MIN_EXP__=(-125)",
- "__cpp_lambdas=200907",
- "__INT_FAST64_TYPE__=long long int",
- "__FP_FAST_FMAF=1",
- "__FLT64_DENORM_MIN__=4.9406564584124654e-324F64",
- "__DBL_MIN__=double(2.2250738585072014e-308L)",
- "__FLT32X_EPSILON__=2.2204460492503131e-16F32x",
- "__FLT64_MIN_10_EXP__=(-307)",
- "__DEC128_MIN__=1E-6143DL",
- "__REGISTER_PREFIX__",
- "__UINT16_MAX__=0xffff",
- "__DBL_HAS_DENORM__=1",
- "__FLT32_MIN__=1.1754943508222875e-38F32",
- "__UINT8_TYPE__=unsigned char",
- "__NO_INLINE__=1",
- "__FLT_MANT_DIG__=24",
- "__LDBL_DECIMAL_DIG__=17",
- "__VERSION__=\"8.4.0\"",
- "__UINT64_C(c)=c ## ULL",
- "__cpp_unicode_characters=200704",
- "__cpp_decltype_auto=201304",
- "__GCC_ATOMIC_INT_LOCK_FREE=2",
- "__FLT32_MANT_DIG__=24",
- "__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__",
- "__SCHAR_WIDTH__=8",
- "__INT32_C(c)=c",
- "__DEC64_EPSILON__=1E-15DD",
- "__ORDER_PDP_ENDIAN__=3412",
- "__DEC128_MIN_EXP__=(-6142)",
- "__FLT32_MAX_10_EXP__=38",
- "__INT_FAST32_TYPE__=int",
- "__UINT_LEAST16_TYPE__=short unsigned int",
- "__INT16_MAX__=0x7fff",
- "__cpp_rtti=199711",
- "__SIZE_TYPE__=unsigned int",
- "__UINT64_MAX__=0xffffffffffffffffULL",
- "__INT8_TYPE__=signed char",
- "__cpp_digit_separators=201309",
- "__ELF__=1",
- "__xtensa__=1",
- "__FLT_RADIX__=2",
- "__INT_LEAST16_TYPE__=short int",
- "__LDBL_EPSILON__=2.2204460492503131e-16L",
- "__UINTMAX_C(c)=c ## ULL",
- "__SIG_ATOMIC_MAX__=0x7fffffff",
- "__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2",
- "__SIZEOF_PTRDIFF_T__=4",
- "__FLT32X_MANT_DIG__=53",
- "__FLT32X_MIN_EXP__=(-1021)",
- "__DEC32_SUBNORMAL_MIN__=0.000001E-95DF",
- "__INT_FAST16_MAX__=0x7fffffff",
- "__FLT64_DIG__=15",
- "__UINT_FAST32_MAX__=0xffffffffU",
- "__UINT_LEAST64_TYPE__=long long unsigned int",
- "__FLT_HAS_QUIET_NAN__=1",
- "__FLT_MAX_10_EXP__=38",
- "__LONG_MAX__=0x7fffffffL",
- "__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL",
- "__FLT_HAS_INFINITY__=1",
- "__cpp_unicode_literals=200710",
- "__UINT_FAST16_TYPE__=unsigned int",
- "__DEC64_MAX__=9.999999999999999E384DD",
- "__INT_FAST32_WIDTH__=32",
- "__CHAR16_TYPE__=short unsigned int",
- "__PRAGMA_REDEFINE_EXTNAME=1",
- "__SIZE_WIDTH__=32",
- "__INT_LEAST16_MAX__=0x7fff",
- "__DEC64_MANT_DIG__=16",
- "__INT64_MAX__=0x7fffffffffffffffLL",
- "__UINT_LEAST32_MAX__=0xffffffffU",
- "__FLT32_DENORM_MIN__=1.4012984643248171e-45F32",
- "__GCC_ATOMIC_LONG_LOCK_FREE=2",
- "__SIG_ATOMIC_WIDTH__=32",
- "__INT_LEAST64_TYPE__=long long int",
- "__INT16_TYPE__=short int",
- "__INT_LEAST8_TYPE__=signed char",
- "__DEC32_MAX_EXP__=97",
- "__INT_FAST8_MAX__=0x7fffffff",
- "__INTPTR_MAX__=0x7fffffff",
- "__cpp_sized_deallocation=201309",
- "__cpp_range_based_for=200907",
- "__FLT64_HAS_QUIET_NAN__=1",
- "__FLT32_MIN_10_EXP__=(-37)",
- "__EXCEPTIONS=1",
- "__LDBL_MANT_DIG__=53",
- "__DBL_HAS_QUIET_NAN__=1",
- "__FLT64_HAS_INFINITY__=1",
- "__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)",
- "__cpp_return_type_deduction=201304",
- "__INTPTR_TYPE__=int",
- "__UINT16_TYPE__=short unsigned int",
- "__WCHAR_TYPE__=short unsigned int",
- "__SIZEOF_FLOAT__=4",
- "__UINTPTR_MAX__=0xffffffffU",
- "__INT_FAST64_WIDTH__=64",
- "__DEC64_MIN_EXP__=(-382)",
- "__cpp_decltype=200707",
- "__FLT32_DECIMAL_DIG__=9",
- "__INT_FAST64_MAX__=0x7fffffffffffffffLL",
- "__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1",
- "__FLT_DIG__=6",
- "__UINT_FAST64_TYPE__=long long unsigned int",
- "__INT_MAX__=0x7fffffff",
- "__INT64_TYPE__=long long int",
- "__FLT_MAX_EXP__=128",
- "__DBL_MANT_DIG__=53",
- "__cpp_inheriting_constructors=201511",
- "__INT_LEAST64_MAX__=0x7fffffffffffffffLL",
- "__FP_FAST_FMAF32=1",
- "__DEC64_MIN__=1E-383DD",
- "__WINT_TYPE__=unsigned int",
- "__UINT_LEAST32_TYPE__=unsigned int",
- "__SIZEOF_SHORT__=2",
- "__LDBL_MIN_EXP__=(-1021)",
- "__FLT64_MAX__=1.7976931348623157e+308F64",
- "__WINT_WIDTH__=32",
- "__INT_LEAST8_MAX__=0x7f",
- "__FLT32X_MAX_10_EXP__=308",
- "__WCHAR_UNSIGNED__=1",
- "__LDBL_MAX_10_EXP__=308",
- "__ATOMIC_RELAXED=0",
- "__DBL_EPSILON__=double(2.2204460492503131e-16L)",
- "__XTENSA_WINDOWED_ABI__=1",
- "__UINT8_C(c)=c",
- "__FLT64_MAX_EXP__=1024",
- "__INT_LEAST32_TYPE__=int",
- "__SIZEOF_WCHAR_T__=2",
- "__INT_FAST8_TYPE__=int",
- "__GNUC_STDC_INLINE__=1",
- "__FLT64_HAS_DENORM__=1",
- "__FLT32_EPSILON__=1.1920928955078125e-7F32",
- "__DBL_DECIMAL_DIG__=17",
- "__STDC_UTF_32__=1",
- "__INT_FAST8_WIDTH__=32",
- "__DEC_EVAL_METHOD__=2",
- "__FLT32X_MAX__=1.7976931348623157e+308F32x",
- "__XTENSA__=1",
- "__ORDER_BIG_ENDIAN__=4321",
- "__cpp_runtime_arrays=198712",
- "__UINT64_TYPE__=long long unsigned int",
- "__UINT32_C(c)=c ## U",
- "__INTMAX_MAX__=0x7fffffffffffffffLL",
- "__cpp_alias_templates=200704",
- "__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__",
- "__FLT_DENORM_MIN__=1.4012984643248171e-45F",
- "__INT8_MAX__=0x7f",
- "__LONG_WIDTH__=32",
- "__UINT_FAST32_TYPE__=unsigned int",
- "__CHAR32_TYPE__=unsigned int",
- "__FLT_MAX__=3.4028234663852886e+38F",
- "__cpp_constexpr=201304",
- "__INT32_TYPE__=int",
- "__SIZEOF_DOUBLE__=8",
- "__cpp_exceptions=199711",
- "__FLT_MIN_10_EXP__=(-37)",
- "__FLT64_MIN__=2.2250738585072014e-308F64",
- "__INT_LEAST32_WIDTH__=32",
- "__INTMAX_TYPE__=long long int",
- "__DEC128_MAX_EXP__=6145",
- "__FLT32X_HAS_QUIET_NAN__=1",
- "__ATOMIC_CONSUME=1",
- "__GNUC_MINOR__=4",
- "__INT_FAST16_WIDTH__=32",
- "__UINTMAX_MAX__=0xffffffffffffffffULL",
- "__DEC32_MANT_DIG__=7",
- "__FLT32X_DENORM_MIN__=4.9406564584124654e-324F32x",
- "__DBL_MAX_10_EXP__=308",
- "__LDBL_DENORM_MIN__=4.9406564584124654e-324L",
- "__INT16_C(c)=c",
- "__cpp_generic_lambdas=201304",
- "__STDC__=1",
- "__FLT32X_DIG__=15",
- "__PTRDIFF_TYPE__=int",
- "__ATOMIC_SEQ_CST=5",
- "__UINT32_TYPE__=unsigned int",
- "__FLT32X_MIN_10_EXP__=(-307)",
- "__UINTPTR_TYPE__=unsigned int",
- "__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD",
- "__DEC128_MANT_DIG__=34",
- "__LDBL_MIN_10_EXP__=(-307)",
- "__SIZEOF_LONG_LONG__=8",
- "__cpp_user_defined_literals=200809",
- "__GCC_ATOMIC_LLONG_LOCK_FREE=1",
- "__FLT32X_MIN__=2.2250738585072014e-308F32x",
- "__LDBL_DIG__=15",
- "__FLT_DECIMAL_DIG__=9",
- "__UINT_FAST16_MAX__=0xffffffffU",
- "__GCC_ATOMIC_SHORT_LOCK_FREE=2",
- "__INT_LEAST64_WIDTH__=64",
- "__UINT_FAST8_TYPE__=unsigned int",
- "__cpp_init_captures=201304",
- "__ATOMIC_ACQ_REL=4",
- "__ATOMIC_RELEASE=3",
- "USBCON"
- ]
- }
- ]
-}
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/.vscode/settings.json b/Firmware/BentoFlowCreator/.vscode/settings.json
deleted file mode 100644
index 91e005dc..00000000
--- a/Firmware/BentoFlowCreator/.vscode/settings.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "C_Cpp.intelliSenseEngineFallback": "Disabled",
- "files.associations": {
- "ios": "cpp",
- "istream": "cpp",
- "ostream": "cpp",
- "xstring": "cpp",
- "*.tcc": "cpp",
- "fstream": "cpp",
- "sstream": "cpp",
- "list": "cpp",
- "memory": "cpp",
- "random": "cpp",
- "xlocnum": "cpp",
- "algorithm": "cpp",
- "array": "cpp",
- "atomic": "cpp",
- "cctype": "cpp",
- "chrono": "cpp",
- "clocale": "cpp",
- "cmath": "cpp",
- "concepts": "cpp",
- "condition_variable": "cpp",
- "cstdarg": "cpp",
- "cstddef": "cpp",
- "cstdint": "cpp",
- "cstdio": "cpp",
- "cstdlib": "cpp",
- "cstring": "cpp",
- "ctime": "cpp",
- "cwchar": "cpp",
- "cwctype": "cpp",
- "deque": "cpp",
- "exception": "cpp",
- "functional": "cpp",
- "initializer_list": "cpp",
- "iomanip": "cpp",
- "iosfwd": "cpp",
- "iostream": "cpp",
- "iterator": "cpp",
- "limits": "cpp",
- "locale": "cpp",
- "map": "cpp",
- "mutex": "cpp",
- "new": "cpp",
- "numeric": "cpp",
- "optional": "cpp",
- "queue": "cpp",
- "ratio": "cpp",
- "set": "cpp",
- "shared_mutex": "cpp",
- "stdexcept": "cpp",
- "streambuf": "cpp",
- "string": "cpp",
- "system_error": "cpp",
- "thread": "cpp",
- "tuple": "cpp",
- "type_traits": "cpp",
- "typeinfo": "cpp",
- "unordered_map": "cpp",
- "unordered_set": "cpp",
- "utility": "cpp",
- "vector": "cpp",
- "xfacet": "cpp",
- "xhash": "cpp",
- "xiosbase": "cpp",
- "xlocale": "cpp",
- "xlocbuf": "cpp",
- "xlocinfo": "cpp",
- "xlocmes": "cpp",
- "xlocmon": "cpp",
- "xloctime": "cpp",
- "xmemory": "cpp",
- "xstddef": "cpp",
- "xtr1common": "cpp",
- "xtree": "cpp",
- "xutility": "cpp",
- "string_view": "cpp",
- "cinttypes": "cpp",
- "regex": "cpp",
- "ranges": "cpp"
- },
- "C_Cpp.errorSquiggles": "Disabled",
-
- "arduino.defaultBaudRate": 115200
-}
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/BentoFlowCreator.ino b/Firmware/BentoFlowCreator/BentoFlowCreator.ino
deleted file mode 100644
index 087bf2f0..00000000
--- a/Firmware/BentoFlowCreator/BentoFlowCreator.ino
+++ /dev/null
@@ -1,14 +0,0 @@
-
-#include "src/MainManager.h"
-MainManager mainManager("1.2.4");
-
-void setup()
-{
- delay(50); //
- mainManager.init();
-}
-
-void loop()
-{
- mainManager.update();
-}
diff --git a/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj b/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj
deleted file mode 100644
index b6379903..00000000
--- a/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
- Release
- Win32
-
-
- Debug
- Win32
-
-
-
- {C5F80730-F44F-4478-BDAE-6634EFC2CA88}
-
-
- BentoFlowCreator
-
-
-
- Application
- true
- MultiByte
-
-
-
-
- Application
- false
- true
- MultiByte
-
-
-
-
- Application
- true
- MultiByte
-
-
-
-
- Application
- false
- true
- MultiByte
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Level3
- Disabled
- true
- true
- true
- $(ProjectDir)..\BentoFlowCreator;C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src;C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility;$(ProjectDir)..\..\..\..\..\Arduino\libraries\FastLED;C:\Program Files (x86)\Arduino\libraries;C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries;$(ProjectDir)..\..\..\..\..\Arduino\libraries;C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino;C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\yun;C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include;C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include\avr;C:\Program Files (x86)\Arduino\hardware\tools\avr\lib\gcc\avr\4.8.1\include;C:\Program Files (x86)\Arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include;C:\Program Files (x86)\Arduino\hardware\tools\avr\lib\gcc\avr\4.9.3\include;%(AdditionalIncludeDirectories)
- $(ProjectDir)__vm\.BentoFlowCreator.vsarduino.h;%(ForcedIncludeFiles)
- false
- __AVR_ATmega32u4__;__AVR_ATmega32U4__;F_CPU=16000000L;ARDUINO=10808;ARDUINO_AVR_YUN;ARDUINO_ARCH_AVR;USB_VID=0x2341;USB_PID=0x8041;__cplusplus=201103L;_VMICRO_INTELLISENSE;%(PreprocessorDefinitions)
-
-
- true
- true
- true
-
-
-
-
- Level3
- Disabled
- true
- %(AdditionalIncludeDirectories)
- %(ForcedIncludeFiles)
- true
- %(PreprocessorDefinitions)
-
-
- true
-
-
-
-
-
-
-
- CppCode
-
-
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
- CppCode
-
-
-
-
- VisualMicroDebugger
-
-
-
-
-
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj.filters b/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj.filters
deleted file mode 100644
index 15296d08..00000000
--- a/Firmware/BentoFlowCreator/BentoFlowCreator.vcxproj.filters
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
- {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
- cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
-
-
- {93995380-89BD-4b04-88EB-625FBE52EBFB}
- h;hh;hpp;hxx;hm;inl;inc;xsd
-
-
- {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
- rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
-
-
-
-
-
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
-
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/__vm/.BentoFlowCreator.vsarduino.h b/Firmware/BentoFlowCreator/__vm/.BentoFlowCreator.vsarduino.h
deleted file mode 100644
index 81aa3950..00000000
--- a/Firmware/BentoFlowCreator/__vm/.BentoFlowCreator.vsarduino.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- Editor: https://www.visualmicro.com/
- visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
- the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
- all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
- note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
-
- Hardware: ESP32 Dev Module, Platform=esp32, Package=esp32
-*/
-
-#if defined(_VMICRO_INTELLISENSE)
-
-#ifndef _VSARDUINO_H_
-#define _VSARDUINO_H_
-#define __ESP32_ESp32__
-#define __ESP32_ESP32__
-#define ESP_PLATFORM
-#define HAVE_CONFIG_H
-#define F_CPU 240000000L
-#define ARDUINO 10808
-#define ARDUINO_ESP32_DEV
-#define ARDUINO_ARCH_ESP32
-#define ESP32
-#define CORE_DEBUG_LEVEL 0
-#define __cplusplus 201103L
-#undef __cplusplus
-#define __cplusplus 201103L
-#define __STDC__
-#define __ARM__
-#define __arm__
-#define __inline__
-#define __asm__(x)
-#define __asm__
-#define __extension__
-#define __ATTR_PURE__
-#define __ATTR_CONST__
-#define __volatile__
-
-
-#define __ASM
-#define __INLINE
-#define __attribute__(noinline)
-
-//#define _STD_BEGIN
-//#define EMIT
-#define WARNING
-#define _Lockit
-#define __CLR_OR_THIS_CALL
-#define C4005
-#define _NEW
-
-//
-//typedef int uint8_t;
-//#define __ARMCC_VERSION 400678
-//#define PROGMEM
-//#define string_literal
-//
-//#define prog_void
-//#define PGM_VOID_P int
-//
-
-typedef int _read;
-typedef int _seek;
-typedef int _write;
-typedef int _close;
-typedef int __cleanup;
-
-//#define inline
-
-#define __builtin_clz
-#define __builtin_clzl
-#define __builtin_clzll
-#define __builtin_labs
-#define __builtin_va_list
-typedef int __gnuc_va_list;
-
-#define __ATOMIC_ACQ_REL
-
-#define __CHAR_BIT__
-#define _EXFUN()
-
-typedef unsigned char byte;
-extern "C" void __cxa_pure_virtual() {;}
-
-
-typedef long __INTPTR_TYPE__ ;
-typedef long __UINTPTR_TYPE__ ;
-typedef long __SIZE_TYPE__ ;
-typedef long __PTRDIFF_TYPE__;
-
-
-
-
-#include
-#include
-
-//#include "..\generic\Common.h"
-//#include "..\generic\pins_arduino.h"
-
-//#undef F
-//#define F(string_literal) ((const PROGMEM char *)(string_literal))
-//#undef PSTR
-//#define PSTR(string_literal) ((const PROGMEM char *)(string_literal))
-//current vc++ does not understand this syntax so use older arduino example for intellisense
-//todo:move to the new clang/gcc project types.
-#define interrupts() sei()
-#define noInterrupts() cli()
-
-#include "BentoFlowCreator.ino"
-#endif
-#endif
diff --git a/Firmware/BentoFlowCreator/__vm/Compile.vmps.xml b/Firmware/BentoFlowCreator/__vm/Compile.vmps.xml
deleted file mode 100644
index 356859f7..00000000
--- a/Firmware/BentoFlowCreator/__vm/Compile.vmps.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/__vm/Configuration.Release.vmps.xml b/Firmware/BentoFlowCreator/__vm/Configuration.Release.vmps.xml
deleted file mode 100644
index fbfe4aae..00000000
--- a/Firmware/BentoFlowCreator/__vm/Configuration.Release.vmps.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/MainManager.cpp b/Firmware/BentoFlowCreator/src/MainManager.cpp
deleted file mode 100644
index 10696d01..00000000
--- a/Firmware/BentoFlowCreator/src/MainManager.cpp
+++ /dev/null
@@ -1,528 +0,0 @@
-#include "MainManager.h"
-
-MainManager * MainManager::instance = nullptr;
-MainManager::MainManager(String fwVersion) : Component("root"),
- fwVersion(fwVersion),
- initTimer(2000)
-{
- instance = this;
-}
-
-void MainManager::init()
-{
-
-#ifdef HAS_DISPLAY
- display.init();
-#endif
-
-#ifdef GROUND_PIN_COUNT
- for (int i = 0; i < GROUND_PIN_COUNT; i++)
- {
- pinMode(groundPins[i], OUTPUT);
- digitalWrite(groundPins[i], LOW);
- gpio_hold_en((gpio_num_t)groundPins[i]);
- }
- gpio_deep_sleep_hold_en();
-#endif
-
-#ifdef HIGH_PIN_COUNT
- for (int i = 0; i < HIGH_PIN_COUNT; i++)
- {
- pinMode(highPins[i], OUTPUT);
- digitalWrite(highPins[i], HIGH);
- gpio_hold_en((gpio_num_t)highPins[i]);
- }
- gpio_deep_sleep_hold_en();
-#endif
-
-
-
- ((EventBroadcaster *)&comm)->addListener(std::bind(&MainManager::communicationEvent, this, std::placeholders::_1));
- ((EventBroadcaster *)&comm)->addListener(std::bind(&MainManager::connectionEvent, this, std::placeholders::_1));
- comm.init();
-
- leds.init();
-
-#ifdef SLEEP_PIN
-#ifdef KEEP_SLEEP_PIN_HIGH
- pinMode(SLEEP_PIN, OUTPUT);
- digitalWrite(SLEEP_PIN, HIGH);
-#endif
-#endif
-
- battery.init();
- battery.addListener(std::bind(&MainManager::batteryEvent, this, std::placeholders::_1));
-
- buttons.init();
- buttons.addListener(std::bind(&MainManager::buttonEvent, this, std::placeholders::_1));
-
- touch.init();
- touch.addListener(std::bind(&MainManager::touchEvent, this, std::placeholders::_1));
-
- pwm.init();
-
- imu.addListener(std::bind(&MainManager::imuEvent, this, std::placeholders::_1));
-
- leds.rgbManager.addListener(std::bind(&MainManager::rgbLedsEvent, this, std::placeholders::_1));
-
- cap.init();
- cap.addListener(std::bind(&MainManager::capacitiveEvent, this, std::placeholders::_1));
-
- files.addListener(std::bind(&MainManager::fileEvent, this, std::placeholders::_1));
-
- scripts.init();
-
- initTimer.addListener(std::bind(&MainManager::timerEvent, this, std::placeholders::_1));
-
- NDBG("Board is "+String(ARDUINO_BOARD));
-}
-
-void MainManager::update()
-{
- initTimer.update();
-
- files.update();
-
- if (files.isUploading)
- return;
-
- comm.update();
-
- imu.update();
-
- buttons.update();
- battery.update();
- touch.update();
- cap.update();
-
- //tmp call this from ledmanager
- //scripts.update();
-
- pwm.update();
-
-// TSTART()
- leds.update();
-// TFINISH("Leds")
-
-#ifdef POWEROFF_IF_NOTCONNECTED
- if (comm.wifiManager.state == ConnectionState::ConnectionError)
- {
- if (!battery.isCharging)
- {
- NDBG("Not connected and battery not charging, poweroff");
-
- sleep(CRGB::Yellow);
- }
- }
-#endif
-}
-
-void touchCallback() {}
-
-void MainManager::sleep(CRGB color)
-{
- NDBG("Sleep now ! ");
- imu.shutdown();
-
- comm.sendMessage(name, "sleep", nullptr, 0);
- leds.shutdown(color); // to replace with battery color
- pwm.shutdown();
-
- delay(500);
-
-#ifdef SLEEP_PIN
- pinMode(SLEEP_PIN, OUTPUT);
-
-#ifdef INFINITE_LOOP_ON_SLEEP
- while (true)
- digitalWrite(SLEEP_PIN, SLEEP_PIN_SLEEP_VAL);
-#else
- digitalWrite(SLEEP_PIN, SLEEP_PIN_SLEEP_VAL);
-#endif // INFINITE LOOP
-
-#endif // SLEEP_PIN
-
-#ifdef SLEEP_WAKEUP_BUTTON
- esp_sleep_enable_ext0_wakeup(SLEEP_WAKEUP_BUTTON, SLEEP_WAKEUP_STATE);
-#else
-#if defined TOUCH_WAKEUP_PIN
- // Configure Touchpad as wakeup source
- touchAttachInterrupt(TOUCH_WAKEUP_PIN, touchCallback, 110);
- esp_sleep_enable_touchpad_wakeup();
-#endif
-#endif
-
-#ifdef ESP8266
- ESP.deepSleep(5e6);
-#else
- esp_deep_sleep_start();
-#endif
-}
-
-void MainManager::connectionEvent(const ConnectionEvent &e)
-{
-
-
-
- NDBG("Connection Event : " + connectionStateNames[e.type] + (e.type == Connected ? "(" + comm.wifiManager.getIP() + ")" : ""));
-
- if(!leds.playerMode.isPlaying) {
- leds.setConnectionState(e.type);
- }
-
- if (e.source == "wifi")
- {
- if (e.type == Connected || e.type == Hotspot)
- {
- NDBG("Connected with IP " + comm.wifiManager.getIP());
- comm.oscManager.setEnabled(true);
- }
- else
- {
- comm.oscManager.setEnabled(false);
- }
-
- if (e.type == Connected || e.type == ConnectionError || e.type == Disabled || e.type == Hotspot)
- {
- initTimer.start();
- }
- }
-}
-
-void MainManager::communicationEvent(const CommunicationEvent &e)
-{
- Component *c = Component::getComponentForName(e.target);
-
- if (c != nullptr)
- {
- bool result = c->handleCommand(e.command, e.data, e.numData);
- if (!result)
- NDBG("Command not handled : " + e.target + "." + e.command);
- }
- else
- {
- NDBG("Target not found : " + e.target);
- }
-}
-
-void MainManager::batteryEvent(const BatteryEvent &e)
-{
- var data[1];
- data[0].type = 'f';
- data[0].value.f = e.value;
- comm.sendMessage(battery.name, BatteryEvent::eventNames[(int)e.type], data, 1);
-
- if (e.type == BatteryEvent::CriticalLevel)
- {
- NDBG("Critical battery level detected => sleeping");
- sleep(CRGB::Red);
- }
-}
-
-void MainManager::buttonEvent(const ButtonEvent &e)
-{
- int numBTData = (e.type == ButtonEvent::MultiPress || e.type == ButtonEvent::Pressed) ? 2 : 1;
- var *data = (var *)malloc((numBTData) * sizeof(var));
-
- data[0].value.i = e.id;
- data[0].type = 'i';
-
- if (numBTData > 1)
- {
- data[1].value.i = e.value;
- data[1].type = 'i';
- }
-
- comm.sendMessage(buttons.name, ButtonEvent::eventNames[(int)e.type], data, numBTData);
-
- switch (e.type)
- {
- case ButtonEvent::Pressed:
- if (e.value == 1)
- {
- if (comm.wifiManager.state == Connecting)
- comm.wifiManager.disable();
- }
- NDBG("Button " + String(e.id) + " " + String(e.value));
- break;
-
- case ButtonEvent::VeryLongPress:
- {
- NDBG("Very long press detected: sleeping");
-
-#ifndef NO_SLEEP_BUTTON
-#ifdef SLEEP_BUTTON_ID
- int sleepBTID = SLEEP_BUTTON_ID;
-#else
- int sleepBTID = 0;
-#endif
-
- if (e.id == sleepBTID)
- sleep(); // only first button can sleep
-#endif
- }
-
- case ButtonEvent::MultiPress:
- if (comm.wifiManager.state == Disabled || comm.wifiManager.state == ConnectionError)
- {
- if (e.value == 2)
- {
- leds.playerMode.stop();
- }
- else if (e.value >= 3)
- {
- leds.playerMode.load("demo" + String(e.value - 3));
- leds.playerMode.loopShow = true;
- leds.playerMode.play();
- }
- }
- break;
- }
-}
-
-void MainManager::touchEvent(const TouchEvent &e)
-{
- int numBTData = (e.type == TouchEvent::MultiPress || e.type == TouchEvent::Pressed) ? 2 : 1;
- var *data = (var *)malloc((numBTData) * sizeof(var));
-
- data[0].value.i = e.id;
- data[0].type = 'i';
-
- if (numBTData > 1)
- {
- data[1].value.i = e.value;
- data[1].type = 'i';
- }
-
- comm.sendMessage(touch.name, TouchEvent::eventNames[(int)e.type], data, numBTData);
-
- switch (e.type)
- {
- case TouchEvent::Pressed:
- if (e.value == 1)
- {
- if (comm.wifiManager.state == Connecting)
- comm.wifiManager.disable();
- }
- NDBG("Touch " + String(e.id) + " " + String(e.value));
- break;
-
- case TouchEvent::VeryLongPress:
- {
-
-#ifndef NO_SLEEP_TOUCH
-#ifdef SLEEP_TOUCH_ID
- int sleepBTID = SLEEP_BUTTON_ID;
-#else
- int sleepBTID = 0;
-#endif
-
- if (e.id == sleepBTID)
- sleep(); // only first button can sleep
-#endif
- }
-
- case TouchEvent::MultiPress:
- if (comm.wifiManager.state == Disabled || comm.wifiManager.state == ConnectionError)
- {
- if (e.value == 2)
- {
- leds.playerMode.stop();
- }
- else if (e.value >= 3)
- {
- leds.playerMode.load("demo" + String(e.value - 3));
- leds.playerMode.loopShow = true;
- leds.playerMode.play();
- }
- }
- break;
- }
-}
-
-void MainManager::imuEvent(const IMUEvent &e)
-{
- switch (e.type)
- {
- case IMUEvent::OrientationUpdate:
- case IMUEvent::LinearAccelUpdate:
- case IMUEvent::AccelUpdate:
- case IMUEvent::GyroUpdate:
- case IMUEvent::Gravity:
- case IMUEvent::CalibrationStatus:
- {
- var data[3];
- for (int i = 0; i < e.numData; i++)
- {
- data[i].type = 'f';
- data[i].value.f = e.data[i];
- }
-
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 3);
- }
- break;
-
- case IMUEvent::ActivityUpdate:
- {
- var data[1];
- data[0].type = 'f';
- data[0].value.f = imu.activity;
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 1);
- }
- break;
-
-
- case IMUEvent::ProjectedAngleUpdate:
- {
- var data[1];
- data[0].type = 'f';
- data[0].value.f = imu.projectedAngle;
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 1);
- }
- break;
-
- case IMUEvent::SpinUpdate:
- {
- var data[1];
- data[0].type = 'f';
- data[0].value.f = imu.spin;
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 1);
- }
- break;
-
- case IMUEvent::ThrowState:
- {
- var data[1];
- data[0].type = 'i';
- data[0].value.i = imu.throwState;
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 1);
- }
- break;
-
- case IMUEvent::Debug:
- {
- var data[4];
- for (int i = 0; i < e.numData; i++)
- {
- data[i].type = 'f';
- data[i].value.f = e.data[i];
- }
-
- comm.sendMessage(imu.name, IMUEvent::eventNames[(int)e.type], data, 4);
- }
- break;
- }
-}
-
-void MainManager::capacitiveEvent(const CapacitiveEvent &e)
-{
-#ifdef CAPACITIVE_COUNT
- switch (e.type)
- {
- case CapacitiveEvent::ValuesUpdate:
- {
- var data[CAPACITIVE_COUNT];
- for (int i = 0; i < e.numData; i++)
- {
- data[i].type = 'f';
- data[i].value.f = e.data[i];
- }
-
- comm.sendMessage(cap.name, CapacitiveEvent::eventNames[(int)e.type], data, CAPACITIVE_COUNT);
- }
- break;
-
- case CapacitiveEvent::TouchUpdate:
- {
- var data[2];
- data[0].type = 'i';
- data[0].value.i = e.index;
- data[1].type = 'i';
- data[1].value.i = (int)e.value;
-
- comm.sendMessage(cap.name, CapacitiveEvent::eventNames[(int)e.type], data, 2);
- }
- break;
- }
-#endif
-}
-
-void MainManager::rgbLedsEvent(const RGBLedsEvent &e)
-{
- switch (e.type)
- {
- case RGBLedsEvent::BrightnessStatus:
- {
- var data[1];
- for (int i = 0; i < e.numData; i++)
- {
- data[i].type = 'f';
- data[i].value.f = e.data[i];
- }
-
- comm.sendMessage(leds.rgbManager.name, RGBLedsEvent::eventNames[(int)e.type], data, 1);
- }
- break;
-
- }
-}
-
-void MainManager::fileEvent(const FileEvent &e)
-{
-#ifdef HAS_FILES
- if (e.type == FileEvent::UploadStart)
- {
-#ifdef LED_COUNT
- leds.setMode(LedManager::System);
- leds.sysLedMode.uploadFeedback = true;
-#endif
- comm.oscManager.setEnabled(false);
- }
- else if (e.type == FileEvent::UploadProgress)
- {
-#ifdef LED_COUNT
- leds.sysLedMode.showUploadProgress(e.data.floatValue());
-#endif
- }
- else if (e.type == FileEvent::UploadComplete)
- {
-#ifdef LED_COUNT
- leds.sysLedMode.uploadFeedback = false;
- leds.setMode(LedManager::Stream);
-#endif
- comm.oscManager.setEnabled(true);
- }
- else if (e.type == FileEvent::FileList)
- {
- var data[1];
- data[0].type = 's';
- data[0].value.s = e.data.value.s;
-
- comm.sendMessage(files.name, FileEvent::eventNames[(int)e.type], data, 1);
- NDBG("FileList Event in Main Manager");
- }
-#endif
-}
-
-void MainManager::timerEvent(const TimerEvent &e)
-{
- NDBG("Timer Event, init fileSystem and IMU");
- files.init();
- imu.init();
-}
-
-bool MainManager::handleCommand(String command, var *data, int numData)
-{
- if (checkCommand(command, "sleep", numData, 0))
- {
- sleep();
- return true;
- }
- else if (checkCommand(command, "restart", numData, 0))
- {
- ESP.restart();
- return true;
- }
-
- return false;
-}
diff --git a/Firmware/BentoFlowCreator/src/MainManager.h b/Firmware/BentoFlowCreator/src/MainManager.h
deleted file mode 100644
index 0d4481fa..00000000
--- a/Firmware/BentoFlowCreator/src/MainManager.h
+++ /dev/null
@@ -1,66 +0,0 @@
-#pragma once
-
-#include
-
-#include "communication/CommunicationManager.h"
-#include "leds/LedManager.h"
-#include "files/FileManager.h"
-#include "sensors/battery/BatteryManager.h"
-#include "sensors/button/ButtonManager.h"
-#include "sensors/touch/TouchManager.h"
-#include "sensors/imu/IMUManager.h"
-#include "sensors/capacitive/CapacitiveManager.h"
-#include "pwm/PWMManager.h"
-#include "scripts/ScriptManager.h"
-
-class MainManager : public Component {
-public:
- MainManager(String fwVersion);
- ~MainManager() {}
-
- static MainManager * instance;
-
- long tstart;
- long tend;
-
- String hardwareID;
- String fwVersion;
-
-#ifdef HAS_DISPLAY
- DisplayManager display;
-#endif
-
- CommunicationManager comm;
- LedManager leds;
- PWMManager pwm;
- FileManager files;
-
- BatteryManager battery;
- ButtonManager buttons;
- TouchManager touch;
- IMUManager imu;
- CapacitiveManager cap;
- ScriptManager scripts;
-
- Timer initTimer; //to init blocking stuff after connection
-
- void init();
- void update();
-
- void sleep(CRGB color = CRGB::Cyan);
-
- void connectionEvent(const ConnectionEvent &e);
- void communicationEvent(const CommunicationEvent &e);
-
- void batteryEvent(const BatteryEvent &e);
- void buttonEvent(const ButtonEvent &e);
- void touchEvent(const TouchEvent &e);
- void imuEvent(const IMUEvent &e);
- void capacitiveEvent(const CapacitiveEvent &e);
- void rgbLedsEvent(const RGBLedsEvent &e);
-
- void fileEvent(const FileEvent &e);
- void timerEvent(const TimerEvent &e);
-
- bool handleCommand(String command, var *data, int numData) override;
- };
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/Common.cpp b/Firmware/BentoFlowCreator/src/common/Common.cpp
deleted file mode 100644
index f929208a..00000000
--- a/Firmware/BentoFlowCreator/src/common/Common.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "Common.h"
-
-#ifdef ESP32
-#include
-#elif defined ESP8266
-#include
-#endif
-
-String getDeviceID()
-{
- byte mac[6];
- WiFi.macAddress(mac);
-
- String result = "";
- for(int i=0;i<6;i++)
- {
- result += (i > 0?":":"") + String(mac[i], HEX);
- }
-
- result.toUpperCase();
- return result;
-
- //uint64_t did = ESP.getEfuseMac();
- //return String((uint32_t)(did >> 32)) + String((uint32_t)(did & 0xffffffff));
-}
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/Common.h b/Firmware/BentoFlowCreator/src/common/Common.h
deleted file mode 100644
index da8caca9..00000000
--- a/Firmware/BentoFlowCreator/src/common/Common.h
+++ /dev/null
@@ -1,31 +0,0 @@
-//This file includes all common classes and definitions so it's the only one to include from other files
-
-#pragma once
-#ifndef COMMON_H
-#define COMMON_H
-
-#include "config/Config.h"
-
-#include "Component.h"
-#include "events/EventBroadcaster.h"
-
-#ifdef ESP32
-#define USE_PREFERENCES
-#include
-#elif defined ESP8266
-#define USE_SETTINGS_MANAGER
-#include "settings/SettingsManager.h"
-#endif
-
-#include "Timer.h"
-
-#define TSTART() { tstart = micros(); }
-#define TFINISH(s) { tend = micros(); Serial.print(s " in "); Serial.print(tend-tstart); Serial.println(" us"); }
-
-
-enum ConnectionState { Off, Connecting, Connected, ConnectionError, Disabled, Hotspot, PingAlive, PingDead, CONNECTION_STATES_MAX };
-const String connectionStateNames[CONNECTION_STATES_MAX] {"Off", "Connecting", "Connected", "ConnectionError", "Disabled", "Hotspot", "PingAlive","PingDead" };
-
-String getDeviceID();
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/Component.cpp b/Firmware/BentoFlowCreator/src/common/Component.cpp
deleted file mode 100644
index f5d6cf50..00000000
--- a/Firmware/BentoFlowCreator/src/common/Component.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "Component.h"
-int Component::numRegisteredComponents = 0;
-Component *Component::registeredComponents[64];
-
-Component::Component(const String &name) : name(name)
-{
- registeredComponents[numRegisteredComponents++] = this;
-}
-
-Component *Component::getComponentForName(String _name)
-{
- for (int i = 0; i < numRegisteredComponents; i++)
- if (registeredComponents[i]->name == _name)
- return registeredComponents[i];
-
- return nullptr;
-};
-
-bool Component::checkCommand(const String &command, const String &checkCommand, int numData, int expected)
-{
- if(command != checkCommand) return false;
- if(numData >= expected) return true;
- NDBG(command+" expects "+expected+" arguments, "+numData+" given");
- return false;
-}
diff --git a/Firmware/BentoFlowCreator/src/common/Component.h b/Firmware/BentoFlowCreator/src/common/Component.h
deleted file mode 100644
index c40444d3..00000000
--- a/Firmware/BentoFlowCreator/src/common/Component.h
+++ /dev/null
@@ -1,74 +0,0 @@
-#pragma once
-
-#include
-#include "DebugHelpers.h"
-
-struct var
-{
- char type;
- union
- {
- int i;
- float f;
- char * s;
- } value;
-
- int intValue() const
- {
- switch (type)
- {
- case 'i':
- return value.i;
- case 'f':
- return (int)value.f;
- case 's':
- return String(value.s).toInt();
- }
- return 0;
- }
-
- float floatValue() const
- {
- switch (type)
- {
- case 'i':
- return (float)value.i;
- case 'f':
- return value.f;
- case 's':
- return String(value.s).toFloat();
- }
-
- return 0;
- }
-
- String stringValue() const
- {
- switch (type)
- {
- case 'i':
- return String(value.i);
- case 'f':
- return String(value.f);
- case 's':
- return value.s;
- }
- return "";
- }
-};
-
-class Component
-{
-public:
- Component(const String &name);
- virtual ~Component() {}
-
- String name;
-
- static Component * registeredComponents[64];
- static int numRegisteredComponents;
- static Component * getComponentForName(String _name);
-
- virtual bool handleCommand(String command, var * data, int numData) { return false; }
- bool checkCommand(const String &command, const String &checkCommand, int numData, int expected);
-};
diff --git a/Firmware/BentoFlowCreator/src/common/DebugHelpers.h b/Firmware/BentoFlowCreator/src/common/DebugHelpers.h
deleted file mode 100644
index 1efb3a20..00000000
--- a/Firmware/BentoFlowCreator/src/common/DebugHelpers.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-#define SERIAL_DEBUG 1
-
-#if SERIAL_DEBUG
-#define DBG(msg) Serial.println(msg)
-#define NDBG(msg) Serial.println("["+name+"] "+msg)
-#else
-#define DBG(msg)
-#define NDBG(msg)
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/Timer.h b/Firmware/BentoFlowCreator/src/common/Timer.h
deleted file mode 100644
index 86452267..00000000
--- a/Firmware/BentoFlowCreator/src/common/Timer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#include "events/EventBroadcaster.h"
-
-class Timer;
-class TimerEvent
-{
-public:
- TimerEvent(Timer * timer) : timer(timer) {}
- Timer * timer;
-};
-
-class Timer : public EventBroadcaster {
-public:
- Timer(long time) : isRunning(false), timeAtStart(0), time(time)
- {}
-
- ~Timer() {}
-
- bool isRunning;
- long timeAtStart;
- long time;
-
- void start()
- {
- timeAtStart = millis();
- isRunning = true;
- }
-
- void stop()
- {
- isRunning = false;
- }
-
- void update()
- {
- if(!isRunning) return;
- if(millis() > timeAtStart + time)
- {
- isRunning = false;
- sendEvent(TimerEvent(this));
- }
- }
-};
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/Config.h b/Firmware/BentoFlowCreator/src/common/config/Config.h
deleted file mode 100644
index eadb70b7..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/Config.h
+++ /dev/null
@@ -1,96 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_H
-#define CONFIG_H
-
-// #define CREATOR_PROTO_V0
-// #define CREATOR_PROTO_V1
- #define CREATOR_PROTO_V2
-// #define CREATOR_TAB_HOOP
-// #define LT_BALL
-// #define LT_HOOP
-// #define CLARINET
-// #define SAX
-// #define GUITAR
-// #define GLOVE
-// #define GENERIC_PWM
-// #define DMX
-// #define DRESS
-// #define FLAIR
-// #define SIMPLE_ESP8266
-// #define SIMPLE_ESP32
-// #define RING
-// #define SUPERSTAFF
-// #define LAMP
-// #define ASPI
-// #define POWERLED
-// #define BIKE
-
-//#define CYRWHEEL
-
-
-//#define BOX
-//#define MAKEY
-
-#if defined CREATOR_PROTO_V0
-#include "config_protov0.h"
-#elif defined CREATOR_PROTO_V1
-#include "config_protov1.h"
-#elif defined CREATOR_PROTO_V2
-#include "config_protov2.h"
-#elif defined CREATOR_TAB_HOOP
-#include "config_tab_hoop.h"
-#elif defined LT_HOOP
-#include "config_lthoop.h"
-#elif defined LT_BALL
-#include "config_ltball.h"
-#elif defined CLARINET
-#include "config_clarinet.h"
-#elif defined SAX
-#include "config_sax.h"
-#elif defined GUITAR
-#include "config_guitar.h"
-#elif defined BOX
-#include "config_box.h"
-#elif defined MAKEY
-#include "config_makey.h"
-#elif defined GLOVE
-#include "config_glove.h"
-#elif defined GENERIC_PWM
-#include "config_genericpwm.h"
-#elif defined DMX
-#include "config_dmx.h"
-#elif defined DRESS
-#include "config_dress.h"
-#elif defined FLAIR
-#include "config_flair.h"
-#elif defined SIMPLE_ESP8266
-#include "config_simpleESP8266.h"
-#elif defined RING
-#include "config_ring.h"
-#elif defined SUPERSTAFF
-#include "config_tab_superstaff.h"
-#elif defined POWERLED
-#include "config_tab_powerled.h"
-#elif defined CYRWHEEL
-#include "config_tab_cyrwheel.h"
-#elif defined LAMP
-#include "config_lamp.h"
-#elif defined ASPI
-#include "config_aspi.h"
-#elif defined BIKE
-#include "config_bike.h"
-#elif defined SIMPLE_ESP32
-#include "config_simpleESP32.h"
-#endif
-
-#ifdef LED_INVERT_DIRECTION
- #define LEDMAP(index) (LED_COUNT-1-index)
-#elif !defined LEDMAP
- #define LEDMAP(index) index
-#endif
-
-//#pragma message("Compiling for " __DEVICE_TYPE__)
-
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_LauryTab1.h b/Firmware/BentoFlowCreator/src/common/config/config_LauryTab1.h
deleted file mode 100644
index d9006665..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_LauryTab1.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "SimpleESP32"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 32
-#define LED_DATA_PIN 26
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-//#define LED_USE_FET
-//#define LED_FET_PIN 33
-
-//SLEEP
-#define BUTTON_INVERTED
-//#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-//#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 0
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-//const int buttonPins[BUTTON_COUNT]{ 37, 39 };
-
-/*
-#define TOUCH_COUNT 2
-const int touchPins[TOUCH_COUNT]{37, 39};
-#define TOUCH_WAKEUP_PIN T0 //TOUCH_PAD_NUM0 //touch pad 0 is pin 4
-*/
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-//#define GROUND_PIN_COUNT 2
-//const int groundPins[GROUND_PIN_COUNT]{13};
-
-//battery
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_aspi.cpp b/Firmware/BentoFlowCreator/src/common/config/config_aspi.cpp
deleted file mode 100644
index cc1cc0db..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_aspi.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "config_aspi.h"
-#include
-#include "../DebugHelpers.h"
-
-int ledIndexMap[LED_COUNT];
-
-void generateLedIndexMap()
-{
- for(int i=0;i "+String(ledIndexMap[i]));
- }
-}
-
-int getLedAtIndex(int index)
-{
- return ledIndexMap[index];
-}
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_aspi.h b/Firmware/BentoFlowCreator/src/common/config/config_aspi.h
deleted file mode 100644
index c8c98afa..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_aspi.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Aspi"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 104
-#define LED_DATA_PIN 26
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-//#define LED_USE_FET
-//#define LED_FET_PIN 33
-
-
-#define GENERATE_LED_INDEX_MAP
-#define STRIP_LED_COUNT 26
-#define NUM_STRIPS 4
-
-
-void generateLedIndexMap();
-int getLedAtIndex(int index);
-
-#define LEDMAP(index) getLedAtIndex(index)
-
-//SLEEP
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_39
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 2
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-const int buttonPins[BUTTON_COUNT]{ 39, 37 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_bike.h b/Firmware/BentoFlowCreator/src/common/config/config_bike.h
deleted file mode 100644
index ae079617..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_bike.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Bike"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 122
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-//#define LED_USE_FET
-//#define LED_FET_PIN 33
-
-//SLEEP
-//#define BUTTON_INVERTED
-//#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-//#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 0
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-//const int buttonPins[BUTTON_COUNT]{ 4, 14 };
-
-//#define TOUCH_COUNT 1
-//const int touchPins[TOUCH_COUNT]{4};
-//#define TOUCH_WAKEUP_PIN T0 //TOUCH_PAD_NUM0 //touch pad 0 is pin 4
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-//#define GROUND_PIN_COUNT 2
-//const int groundPins[GROUND_PIN_COUNT]{13};
-
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_box.h b/Firmware/BentoFlowCreator/src/common/config/config_box.h
deleted file mode 100644
index 80d00f33..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_box.h
+++ /dev/null
@@ -1,53 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Box"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 2
-#define LED_SEPARATE_CHANNELS 1
-#define LED_PWM_FREQUENCY 5000
-#define LED_PWM_RESOLUTION 10
-//#define PWMVAL(i) map(i, 0, 255, 0, 1023)
-
-//SLEEP
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_26
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_INVERTED
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-
-
-#define BUTTON_COUNT 2
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-const int buttonPins[BUTTON_COUNT]{ 26, 32 };
-
-#define GROUND_PIN_COUNT 1
-const int groundPins[GROUND_PIN_COUNT] { 15 };
-
-#define HIGH_PIN_COUNT 1
-const int highPins[HIGH_PIN_COUNT] { 13 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-//#define FASTLED_FORCE_LOOPDELAY
-struct RGBLedPins
-{
- int rPin;
- int gPin;
- int bPin;
-};
-
-const RGBLedPins rgbLedPins[LED_COUNT]
-{
- {25, -1, -1},
- {14, -1, -1},
-};
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_clarinet.h b/Firmware/BentoFlowCreator/src/common/config/config_clarinet.h
deleted file mode 100644
index 0e4882a9..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_clarinet.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Clarinet"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 75
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 150
-#define LED_DEFAULT_BRIGHTNESS .3
-#define LED_USE_FET
-#define LED_FET_PIN 33
-
-
-//battery
-#define BATTERY_CHARGE_PIN 34
-#define BATTERY_PIN 35
-#define BATTERY_DEFAULT_MIN 880
-#define BATTERY_DEFAULT_MAX 1100
-
-//SLEEP
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 2
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-const int buttonPins[BUTTON_COUNT]{ 4, 14 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_dmx.h b/Firmware/BentoFlowCreator/src/common/config/config_dmx.h
deleted file mode 100644
index 3ebe170f..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_dmx.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "DMX"
-
-//#define ESP8266
-#define ESP32
-
-#define BUTTON_COUNT 0
-
-// main leds config
-#define LED_COUNT 1
-#define LED_USE_DMX
-const int dmxStartChannels[LED_COUNT] {1};
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_dress.h b/Firmware/BentoFlowCreator/src/common/config/config_dress.h
deleted file mode 100644
index d293bf8c..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_dress.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Dress"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 1860
-#define LED_NUM_STRIPS 5
-
-#define LED_PIN1 12 //purple
-#define LED_PIN2 32 //blue
-#define LED_PIN3 19 //green
-#define LED_PIN4 27 //grey
-#define LED_PIN5 33 //white
-
-#define LED_COUNT1 119 //shoulderLeft
-#define LED_COUNT2 119 //shoulderRight
-#define LED_COUNT3 328 //crown
-#define LED_COUNT4 742 //body back > front
-#define LED_COUNT5 552 //skirt
-
-#define LED_START1 0
-#define LED_START2 LED_START1 + LED_COUNT1
-#define LED_START3 LED_START2 + LED_COUNT2
-#define LED_START4 LED_START3 + LED_COUNT3
-#define LED_START5 LED_START4 + LED_COUNT4
-#define LED_START6 LED_START5 + LED_COUNT5
-
-#define LED_COLOR_ORDER GRB
-#define LED_TYPE WS2812B
-
-#define BUTTON_COUNT 0
-
-#define HAS_FILES
-#define SDSPEED 10000000
-#define SD_MISO 21
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_flair.h b/Firmware/BentoFlowCreator/src/common/config/config_flair.h
deleted file mode 100644
index 3ad8a93c..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_flair.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Flair"
-#ifndef ESP8266
-#define ESP8266
-#endif
-
-// main leds config
-#define LED_COUNT 18
-#define LED_DATA_PIN 13
-//#define LED_CLK_PIN 14
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER BGR
-
-//main power
-//#define SLEEP_WAKEUP_BUTTON GPIO_NUM_13
-//#define SLEEP_WAKEUP_STATE HIGH
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 4 };
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_genericpwm.h b/Firmware/BentoFlowCreator/src/common/config/config_genericpwm.h
deleted file mode 100644
index 31084193..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_genericpwm.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Generic PWM"
-#define ESP8266
-
-#define BUTTON_COUNT 0
-
-// main leds config
-#define LED_COUNT 2
-#define LED_SEPARATE_CHANNELS 1
-#define PWMVAL(i) map(i, 0, 255, 1023, 0)
-#define NO_ANIMATIONS
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-struct RGBLedPins
-{
- int rPin;
- int gPin;
- int bPin;
-};
-
-const RGBLedPins rgbLedPins[LED_COUNT]
-{
- {5,2,4},
- {14,12,13},
-};
-
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_glove.h b/Firmware/BentoFlowCreator/src/common/config/config_glove.h
deleted file mode 100644
index cdf5c12d..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_glove.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Glove"
-#define ESP32
-
-#define BUTTON_COUNT 6
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-#define BUTTON_REF_PULLDOWN 13
-const int buttonPins[BUTTON_COUNT]{ 23, 2, 12,21,27,14}; //4 last buttons are glove, 26 is palm but not working right now
-
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_2
-#define SLEEP_WAKEUP_STATE LOW
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 4 // i2c lines
-#define SCL_PIN 15 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P2
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P2
-
-#define INT_PIN 0 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 0 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-#define HAS_DISPLAY
-#define DISPLAY_LINES 4
-#define DISPLAY_SDA 4
-#define DISPLAY_SCL 15
-#define DISPLAY_RESET 16
-#define DISPLAY_REFRESH_RATE 20
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_guitar.h b/Firmware/BentoFlowCreator/src/common/config/config_guitar.h
deleted file mode 100644
index 88ea610d..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_guitar.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Guitar"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 324
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 150
-#define LED_DEFAULT_BRIGHTNESS .3
-#define LED_USE_FET
-#define LED_FET_PIN 33
-
-//battery
-/*#define BATTERY_CHARGE_PIN 34
-#define BATTERY_PIN 35
-#define BATTERY_DEFAULT_MIN 880
-#define BATTERY_DEFAULT_MAX 1100
-*/
-
-//SLEEP
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 2
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-const int buttonPins[BUTTON_COUNT]{ 14, 4 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_lamp.cpp b/Firmware/BentoFlowCreator/src/common/config/config_lamp.cpp
deleted file mode 100644
index 1712cf51..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_lamp.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#include "Config.h"
-#ifdef LAMP
-#include
-
-
-int getBatteryRawValue()
-{
- analogRead(BATTERY_PIN); // Just to get the ADC setup
- return adc1_get_raw(BATT_CHANNEL);
-}
-
-float getBatteryVoltage(int raw)
-{
- esp_adc_cal_characteristics_t chars;
-
- // Get ADC calibration values
- esp_adc_cal_characterize(ADC_UNIT_1, ADC_ATTEN_11db, ADC_WIDTH_BIT_12, DEFAULT_VREF, &chars);
-
- // Convert to calibrated mv then volts
- uint32_t mv = esp_adc_cal_raw_to_voltage(raw, &chars) * (LOWER_DIVIDER + UPPER_DIVIDER) / LOWER_DIVIDER;
- return (float)mv / 1000.0;
-}
-
-bool isChargingBattery()
-{
- int measuredVal = 0;
- for (int i = 0; i < 10; i++)
- {
- int v = digitalRead(BATTERY_CHARGE_PIN);
- measuredVal += v;
- }
-
- return (measuredVal == 0);
-}
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_lamp.h b/Firmware/BentoFlowCreator/src/common/config/config_lamp.h
deleted file mode 100644
index 986845b1..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_lamp.h
+++ /dev/null
@@ -1,69 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Lamp"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 30
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-#define LED_USE_FET
-#define LED_FET_PIN 33
-
-//SLEEP
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
- #define BUTTON_COUNT 1
- #define BUTTON_INPUT_MODE INPUT_PULLUP
- const int buttonPins[BUTTON_COUNT]{ 4 };
-
-//#define TOUCH_COUNT 1
-//const int touchPins[TOUCH_COUNT]{4};
-//#define TOUCH_WAKEUP_PIN T0 //TOUCH_PAD_NUM0 //touch pad 0 is pin 4
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-#define GROUND_PIN_COUNT 1
-const int groundPins[GROUND_PIN_COUNT]{ 14 };
-
-//TinyPICO code
-
-// Battery divider resistor values
-#define UPPER_DIVIDER 442
-#define LOWER_DIVIDER 160
-#define DEFAULT_VREF 1100 // Default reference voltage in mv
-#define BATT_CHANNEL ADC1_CHANNEL_7 // Battery voltage ADC input
-
-//battery
-#define BATTERY_CHARGE_PIN 34
-#define BATTERY_PIN 35
-#define BATTERY_VOLTAGE_MIN 3.5f
-#define BATTERY_VOLTAGE_MAX 4.2f
-
-#define CUSTOM_BATTERY_READ
-
-#include "driver/adc.h"
-#include "esp_adc_cal.h"
-
-int getBatteryRawValue();
-float getBatteryVoltage(int raw);
-
-bool isChargingBattery();
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_ltball.h b/Firmware/BentoFlowCreator/src/common/config/config_ltball.h
deleted file mode 100644
index 852a4c7e..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_ltball.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Lightrix Ball"
-#define ESP8266
-
-// main leds config
-#define LED_COUNT 5
-#define LED_DATA_PIN 13
-#define LED_CLK_PIN 14
-#define LED_TYPE APA102
-#define LED_COLOR_ORDER BGR
-
-//main power
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_13
-#define SLEEP_WAKEUP_STATE HIGH
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 4 };
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_lthoop.h b/Firmware/BentoFlowCreator/src/common/config/config_lthoop.h
deleted file mode 100644
index 6aac44bd..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_lthoop.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Lightrix Hoop"
-#define ESP8266
-
-// main leds config
-#define LED_COUNT 250
-#define LED_DATA_PIN 13
-#define LED_CLK_PIN 14
-#define LED_TYPE APA102
-#define LED_COLOR_ORDER BGR
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 5 };
-#define BUTTON_INVERTED
-
-#define SLEEP_PIN 5
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define INFINITE_LOOP_ON_SLEEP
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_makey.h b/Firmware/BentoFlowCreator/src/common/config/config_makey.h
deleted file mode 100644
index d168b28d..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_makey.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Makey"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 1
-#define LED_TYPE WS2812B
-#define LED_DATA_PIN 15
-#define LED_COLOR_ORDER RGB
-
-// button pin
-#define NO_SLEEP_BUTTON
-
-#define BUTTON_INVERTED
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 25 };
-
-#define HIGH_PIN_COUNT 2
-const int highPins[HIGH_PIN_COUNT] { 26, 13};
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_protov1.h b/Firmware/BentoFlowCreator/src/common/config/config_protov1.h
deleted file mode 100644
index 9dc39937..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_protov1.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Flowtoys Creator Club"
-#define ESP8266
-
-// main leds config
-#define LED_COUNT 32
-#define LED_EN_PIN 26 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 5
-#define LED_CLK_PIN 18
-#define LED_TYPE SK9822
-#define LED_COLOR_ORDER BGR
-
-//main power
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_13
-#define SLEEP_WAKEUP_STATE HIGH
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 23 };
-
-//battery sense (no battery sensing)
-
-// ir config
-#define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-
-// SD config
-#define SDSPEED 27000000
-
-#define SD_EN 32 // drive LOW to turn on and set to HIGH-Z for off.
-
-#define SD_MISO 27
-#define SD_MOSI 25
-#define SD_SCK 33
-#define SD_CS 2
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_protov2.h b/Firmware/BentoFlowCreator/src/common/config/config_protov2.h
deleted file mode 100644
index 33f2b955..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_protov2.h
+++ /dev/null
@@ -1,70 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Flowtoys Creator Club"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 32
-#define LED_EN_PIN 27 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 25
-#define LED_CLK_PIN 26
-#define LED_TYPE SK9822
-#define LED_COLOR_ORDER BGR
-#define LED_INVERT_DIRECTION
-#define LED_MAX_BRIGHTNESS 60
-
-//main power
-#define KEEP_SLEEP_PIN_HIGH
-#define SLEEP_PIN 12 // pin for turning the LDO on and off. LOW for off and HIGH for on.
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_32
-#define SLEEP_WAKEUP_STATE HIGH
-
-//setting low will colapse the power and the club will only turn on from USB or button press.
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 32 };
-
-//battery sence
-#define BATTERY_PIN 35 // takes the measurment from the battery sence.
-#define BATTERY_DEFAULT_MIN 222
-#define BATTERY_DEFAULT_MAX 335
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 23 // i2c lines
-#define SCL_PIN 22 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P0
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P0
-
-#define INT_PIN 33 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 21 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define IMU_ADDR 0x28
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-// ir config
-#define HAS_IR
-
-#define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-#define IR_MAX_POWER 25 // 10%
-#define IR_CHANNEL 0
-#define IR_PWM_RESOLUTION 8 //8 = value range from 0 to 255
-#define IR_FREQ 5000
-
-// SD config
-#define HAS_FILES
-
-#define SDSPEED 27000000
-
-#define SD_EN 16 // drive LOW to turn on and set to HIGH-Z for off.
-#define SD_POWER_VALUE LOW
-
-#define SD_MISO 19
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_ring.h b/Firmware/BentoFlowCreator/src/common/config/config_ring.h
deleted file mode 100644
index 42d9ac52..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_ring.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Ring"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 116
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-
-//SLEEP
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_27
-#define SLEEP_WAKEUP_STATE HIGH
-
-// button pin
-#define BUTTON_INVERTED
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT_PULLDOWN
-const int buttonPins[BUTTON_COUNT]{ 27 };
-
-
-#define HIGH_PIN_COUNT 1
-const int highPins[HIGH_PIN_COUNT] { 26 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-
-#define CAPACITIVE_COUNT 7
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_sax.h b/Firmware/BentoFlowCreator/src/common/config/config_sax.h
deleted file mode 100644
index 762ef5f6..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_sax.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "Sax"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 153
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-
-//SLEEP
-#define BUTTON_INVERTED
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 2
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-const int buttonPins[BUTTON_COUNT]{ 14, 4 };
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_simpleESP32.h b/Firmware/BentoFlowCreator/src/common/config/config_simpleESP32.h
deleted file mode 100644
index 222cf253..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_simpleESP32.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#pragma once
-
-#ifndef CONFIG_FILE
-#define CONFIG_FILE
-
-#define DEVICE_TYPE "SimpleESP32"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 200
-#define LED_DATA_PIN 15
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-#define LED_MAX_BRIGHTNESS 200
-#define LED_DEFAULT_BRIGHTNESS .5
-//#define LED_USE_FET
-//#define LED_FET_PIN 33
-
-//SLEEP
-#define BUTTON_INVERTED
-//#define SLEEP_WAKEUP_BUTTON GPIO_NUM_4
-//#define SLEEP_WAKEUP_STATE LOW
-
-// button pin
-#define BUTTON_COUNT 0
-#define BUTTON_INPUT_MODE INPUT_PULLUP
-//const int buttonPins[BUTTON_COUNT]{ 37, 39 };
-
-/*
-#define TOUCH_COUNT 2
-const int touchPins[TOUCH_COUNT]{37, 39};
-#define TOUCH_WAKEUP_PIN T0 //TOUCH_PAD_NUM0 //touch pad 0 is pin 4
-*/
-
-//apparently helps having stable fastLED with TinyPICO and WS2812C
-#define FASTLED_FORCE_LOOPDELAY
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-//#define GROUND_PIN_COUNT 2
-//const int groundPins[GROUND_PIN_COUNT]{13};
-
-//battery
-#endif
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_simpleESP8266.h b/Firmware/BentoFlowCreator/src/common/config/config_simpleESP8266.h
deleted file mode 100644
index 09347df9..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_simpleESP8266.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Simple ESP8266"
-#define ESP8266
-
-// main leds config
-#define LED_COUNT 52
-//#define LED_EN_PIN 26 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 14
-//#define LED_CLK_PIN 18
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-
-
-#define LED_MAX_BRIGHTNESS 80
-#define LED_DEFAULT_BRIGHTNESS .5
-
-#define HAS_FILES
-#define FILES_USE_INTERNAL_MEMORY
-
-//main power
-//#define SLEEP_WAKEUP_BUTTON GPIO_NUM_13
-//#define SLEEP_WAKEUP_STATE HIGH
-
-// button pin
-#define BUTTON_COUNT 0
-//#define BUTTON_INPUT_MODE INPUT
-//const int buttonPins[BUTTON_COUNT]{ 23 };
-
-//battery sense (no battery sensing)
-
-// ir config
-//#define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-
-// SD config
-
-// #define SDSPEED 27000000
-// #define SD_EN 32 // drive LOW to turn on and set to HIGH-Z for off.
-// #define SD_MISO 27
-// #define SD_MOSI 25
-// #define SD_SCK 33
-// #define SD_CS 2
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_tab_cyrwheel.h b/Firmware/BentoFlowCreator/src/common/config/config_tab_cyrwheel.h
deleted file mode 100644
index 021471e7..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_tab_cyrwheel.h
+++ /dev/null
@@ -1,73 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Creator CyrWheel"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 1080
-#define LED_EN_PIN 27 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 25
-#define LED_CLK_PIN 26
-#define LED_TYPE APA102
-#define LED_COLOR_ORDER RGB
-//#define LED_INVERT_DIRECTION
-
-//out of 1
-#define LED_DEFAULT_BRIGHTNESS .4
-
-//out of 255
-#define LED_MAX_BRIGHTNESS 150
-
-//main power
-#define KEEP_SLEEP_PIN_HIGH
-#define SLEEP_PIN 12 // pin for turning the LDO on and off. LOW for off and HIGH for on.
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_36
-#define SLEEP_WAKEUP_STATE HIGH
-
-//setting low will colapse the power and the club will only turn on from USB or button press.
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 36 };
-
-//battery sence
-#define BATTERY_PIN 35 // takes the measurment from the battery sence.
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 23 // i2c lines
-#define SCL_PIN 22 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P0
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P0
-
-#define INT_PIN 34 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 21 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define IMU_ADDR 0x28
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-// ir config
-//#define HAS_IR
-
-// #define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-// #define IR_MAX_POWER 25 // 10%
-// #define IR_CHANNEL 0
-// #define IR_PWM_RESOLUTION 8 //8 = value range from 0 to 255
-// #define IR_FREQ 5000
-
-// SD config
-#define HAS_FILES
-
-#define SDSPEED 27000000
-
-#define SD_EN 33 // drive LOW to turn on and set to HIGH-Z for off.
-#define SD_POWER_VALUE LOW
-
-#define SD_MISO 19
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_tab_hoop.h b/Firmware/BentoFlowCreator/src/common/config/config_tab_hoop.h
deleted file mode 100644
index c157842b..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_tab_hoop.h
+++ /dev/null
@@ -1,73 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Flowtoys Creator Hoop"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 363
-#define LED_EN_PIN 27 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 25
-//#define LED_CLK_PIN 26
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-//#define LED_INVERT_DIRECTION
-
-//out of 1
-#define LED_DEFAULT_BRIGHTNESS .2
-
-//out of 255
-#define LED_MAX_BRIGHTNESS 255
-
-//main power
-#define KEEP_SLEEP_PIN_HIGH
-#define SLEEP_PIN 12 // pin for turning the LDO on and off. LOW for off and HIGH for on.
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_36
-#define SLEEP_WAKEUP_STATE HIGH
-
-//setting low will colapse the power and the club will only turn on from USB or button press.
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{ 36 };
-
-//battery sence
-#define BATTERY_PIN 35 // takes the measurment from the battery sence.
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 23 // i2c lines
-#define SCL_PIN 22 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P0
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P0
-
-#define INT_PIN 34 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 21 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define IMU_ADDR 0x28
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-// ir config
-//#define HAS_IR
-
-// #define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-// #define IR_MAX_POWER 25 // 10%
-// #define IR_CHANNEL 0
-// #define IR_PWM_RESOLUTION 8 //8 = value range from 0 to 255
-// #define IR_FREQ 5000
-
-// SD config
-#define HAS_FILES
-
-#define SDSPEED 27000000
-
-#define SD_EN 33 // drive LOW to turn on and set to HIGH-Z for off.
-#define SD_POWER_VALUE LOW
-
-#define SD_MISO 19
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_tab_powerled.h b/Firmware/BentoFlowCreator/src/common/config/config_tab_powerled.h
deleted file mode 100644
index 3bc46496..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_tab_powerled.h
+++ /dev/null
@@ -1,80 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Creator PowerLed"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 60
-#define LED_EN_PIN 27 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 25
-//#define LED_CLK_PIN 26
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER RGB
-//#define LED_INVERT_DIRECTION
-
-//out of 1
-#define LED_DEFAULT_BRIGHTNESS .5
-
-//out of 255
-#define LED_MAX_BRIGHTNESS 255
-
-//main power
-#define KEEP_SLEEP_PIN_HIGH
-#define SLEEP_PIN 12 // pin for turning the LDO on and off. LOW for off and HIGH for on.
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_36
-#define SLEEP_WAKEUP_STATE HIGH
-
-//setting low will colapse the power and the club will only turn on from USB or button press.
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{36};
-
-//battery sence
-#define BATTERY_PIN 35 // takes the measurment from the battery sence.
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 23 // i2c lines
-#define SCL_PIN 22 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P0
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P0
-
-#define INT_PIN 34 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 21 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define IMU_ADDR 0x28
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-//PWM config
-#define PWM_COUNT 4
-const int pwmPins[PWM_COUNT]{32, 9, 10, 4};
-#define PWM_FREQUENCY 5000
-#define PWM_RESOLUTION 10
-#define PWMVAL(i) i*1023
-
-// ir config
-//#define HAS_IR
-
-// #define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-// #define IR_MAX_POWER 25 // 10%
-// #define IR_CHANNEL 0
-// #define IR_PWM_RESOLUTION 8 //8 = value range from 0 to 255
-// #define IR_FREQ 5000
-
-// SD config
-#define HAS_FILES
-
-#define SDSPEED 27000000
-
-#define SD_EN 33 // drive LOW to turn on and set to HIGH-Z for off.
-#define SD_POWER_VALUE LOW
-
-#define SD_MISO 19
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/config/config_tab_superstaff.h b/Firmware/BentoFlowCreator/src/common/config/config_tab_superstaff.h
deleted file mode 100644
index 19846a2c..00000000
--- a/Firmware/BentoFlowCreator/src/common/config/config_tab_superstaff.h
+++ /dev/null
@@ -1,76 +0,0 @@
-#pragma once
-
-#define DEVICE_TYPE "Creator SuperStaff"
-
-#ifndef ESP32
-#define ESP32
-#endif
-
-// main leds config
-#define LED_COUNT 144
-#define LED_EN_PIN 27 // pin for enabling the LED power. HIGH for on and LOW for off.
-#define LED_DATA_PIN 25
-//#define LED_CLK_PIN 26
-#define LED_TYPE WS2812B
-#define LED_COLOR_ORDER GRB
-//#define LED_INVERT_DIRECTION
-
-//out of 1
-#define LED_DEFAULT_BRIGHTNESS .2
-
-//out of 255
-#define LED_MAX_BRIGHTNESS 200
-
-//main power
-#define KEEP_SLEEP_PIN_HIGH
-#define SLEEP_PIN 12 // pin for turning the LDO on and off. LOW for off and HIGH for on.
-#define SLEEP_PIN_SLEEP_VAL LOW
-#define SLEEP_WAKEUP_BUTTON GPIO_NUM_36
-#define SLEEP_WAKEUP_STATE HIGH
-
-#define POWEROFF_IF_NOTCONNECTED
-
-//setting low will colapse the power and the club will only turn on from USB or button press.
-
-// button pin
-#define BUTTON_COUNT 1
-#define BUTTON_INPUT_MODE INPUT
-const int buttonPins[BUTTON_COUNT]{36};
-
-//battery sence
-#define BATTERY_PIN 35 // takes the measurment from the battery sence.
-#define BATTERY_CHARGE_PIN 39
-
-#define HAS_IMU
-//#define I2C_CLOCK 10000 // not sure what this is for.
-#define SDA_PIN 23 // i2c lines
-#define SCL_PIN 22 // i2c lines
-#define IMU_REMAP_CONFIG Adafruit_BNO055::REMAP_CONFIG_P0
-#define IMU_REMAP_SIGN Adafruit_BNO055::REMAP_SIGN_P0
-
-#define INT_PIN 34 // the interupt pin for the IMU MPU prosessor.
-#define IMU_RESET 21 // toggl this pin to reset the IMU before connectiong to it after a reset.
-#define IMU_ADDR 0x28
-#define BNO055_SAMPLERATE_DELAY_MS (100)
-
-// ir config
-//#define HAS_IR
-
-// #define IR_TX_PIN 17 // drive with PWM HIGH is on and LOW is off.
-// #define IR_MAX_POWER 25 // 10%
-// #define IR_CHANNEL 0
-// #define IR_PWM_RESOLUTION 8 //8 = value range from 0 to 255
-// #define IR_FREQ 5000
-
-// SD config
-#define HAS_FILES
-
-#define SDSPEED 27000000
-
-#define SD_EN 33 // drive LOW to turn on and set to HIGH-Z for off.
-#define SD_POWER_VALUE LOW
-
-#define SD_MISO 19
-#define SD_MOSI 13
-#define SD_SCK 14
-#define SD_CS 15
\ No newline at end of file
diff --git a/Firmware/BentoFlowCreator/src/common/events/EventBroadcaster.h b/Firmware/BentoFlowCreator/src/common/events/EventBroadcaster.h
deleted file mode 100644
index ed753545..00000000
--- a/Firmware/BentoFlowCreator/src/common/events/EventBroadcaster.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma once
-#include
-
-template
-class EventBroadcaster
-{
-public:
- EventBroadcaster();
- virtual ~EventBroadcaster() {}
-
- typedef std::function onEvent;
- onEvent listeners[8];
- void addListener(onEvent func);
-
-protected:
- virtual void sendEvent(const T &data = T());
-
-private:
- int numListeners;
-};
-
-template
-EventBroadcaster::EventBroadcaster() : numListeners(0)
-{
-}
-
-template
-void EventBroadcaster::sendEvent(const T &data)
-{
- for (int i = 0; i < numListeners; i++)
- {
- listeners[i](data);
- }
-}
-
-template
-void EventBroadcaster::addListener(onEvent func)
-{
- if (numListeners == 8)
- return;
-
-
- listeners[numListeners] = func;
- numListeners++;
-}
diff --git a/Firmware/BentoFlowCreator/src/common/settings/Macro.h b/Firmware/BentoFlowCreator/src/common/settings/Macro.h
deleted file mode 100644
index 585ba90e..00000000
--- a/Firmware/BentoFlowCreator/src/common/settings/Macro.h
+++ /dev/null
@@ -1,5 +0,0 @@
-//==================[ CONFIG ]=================
-#define JSON_LEN 1500
-#define SM_KEY_NOT_FOUND 1
-#define SM_ERROR -1
-#define SM_SUCCESS 0
diff --git a/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.cpp b/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.cpp
deleted file mode 100644
index 6ead3837..00000000
--- a/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.cpp
+++ /dev/null
@@ -1,429 +0,0 @@
-/*
-
- SettingsManager
-
- Copyright (C) 2017 by Sergiu Toporjinschi
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation version 3.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
- All rights reserved
-
-*/
-
-//#include "../DebugHelpers.h"
-#include "SettingsManager.h"
-
-
-/**
- Reads the content of settings file given by path/name
-*/
-int SettingsManager::readSettings(const char *fileName) {
- // DBG("Reading settings from: " + String(fileName));
- unsigned int loaded = SM_SUCCESS;
- openSPIFFS();
- File file = SPIFFS.open(fileName, "r");
- if (!file) {
- // DBG("Could not open file");
- SPIFFS.end();
- loaded = SM_ERROR;
- } else {
- char js[JSON_LEN] = {0};
- getFileContent(js, file);
- // DBG("File content : "+String(js));
- loaded = loadJson(js);
- file.close();
- SPIFFS.end();
- }
- // DBG("Closing file");
- return loaded;
-}
-
-/**
- Writes the content of settings to a file given by path/name
-*/
-int SettingsManager::writeSettings(const char *fileName) {
- return writeSettings(fileName, doc.as());
-}
-
-/**
- Writes the content of settings to a file given by path/name
-*/
-int SettingsManager::writeSettings(const char *fileName, JsonVariant conf) {
- // DBG("Writing settings to: "+String(fileName));
- openSPIFFS();
-
- File file = SPIFFS.open(fileName, "w");
- if (!file) {
- // DBG("Could not write in file");
- SPIFFS.end();
- return SM_ERROR;
- } else {
- serializeJson(conf, file);
- delay(20);
- // DBG("File written");
- }
- file.close();
- SPIFFS.end();
- // DBG("File and SPIFFS closed");
- return SM_SUCCESS;
-}
-
-/**
- Reads the file content
-*/
-void SettingsManager::getFileContent(char *content, File &file) {
- char jsonChars[7] = "{},:[]";
- char lastChr = '\0';
- while (file.available()) {
- char chr = (char)file.read();
- if (chr == 10 || chr == '\r' || chr == '\t' || (strchr(jsonChars, lastChr) != NULL && chr == ' ') || (int)chr == 255) {
- continue;
- }
- if ((int)lastChr == 32 && strchr(jsonChars, chr) != NULL) {
- content[strlen(content) - 1] = '\000';
- }
- content[strlen(content)] = chr;
- content[strlen(content) + 1] = '\000';
- lastChr = chr;
- }
-}
-
-/**
- Loads a json and is stored in json structure
-*/
-int SettingsManager::loadJson(const char *payload) {
- doc.clear();
- DeserializationError err = deserializeJson(doc, payload);
- if (err) {
- // DBG("Could not deserialize payload: "+String(err.c_str()));
- return SM_ERROR;
- }
- root = doc.as();
- return SM_SUCCESS;
-}
-
-/**
- Open file
-*/
-void SettingsManager::openSPIFFS() {
- if (!SPIFFS.begin()) {
- delay(20);
- // DBG("Could not mount SPIFFS file system");
- } else {
- // DBG("SPIFFS file system, open");
- }
-}
-
-/**
- Returns the JsonVariant of a given key
-*/
-JsonVariant SettingsManager::getJsonVariant(const char *key, bool addIfMissing) {
- // DBG("-> Searching for key: "+String(key));
- //Maybe i'm lucky ...
- JsonVariant val = root.getMember(key);
- if (!val.isNull()) {
- // DBG("Key found in root: "+String(key));
- return val;
- }
- char _key[100] = {0};
- strcpy(_key, key);
- char *k = strchr(_key, '.');
-
- //if it does not have any . then is not existing
- if (k == nullptr) {
- if (addIfMissing) {
- // DBG("Adding not existing key: "+String(key));
- return root.getOrAddMember(key);
- } else {
- // DBG("Key not found "+String(key));
- return JsonVariant();
- }
- }
-
- //for sure it has at least one .
- char *crs = &_key[0];
- JsonVariant node = root;
- while (k != nullptr) {
- //replace the . with \0 to split the string
- k[0] = '\0';
- if (strlen(crs) > 0) {
- if (!node.getMember(crs).isNull()) {
- node = node.getMember(crs);
- } else if (!addIfMissing) {
- // DBG("Key not found: "+String(crs));
- return JsonVariant();
- } else {
- // DBG("Adding not existing key: "+String(crs));
- node = node.getOrAddMember(crs);
- }
- }
- k++;
- crs = k;
- k = strchr(crs, '.');
- if (k == nullptr) {
- if (node.getMember(crs).isNull() && addIfMissing) {
- // DBG("Adding not existing key: "+String(crs));
- node = node.getOrAddMember(crs);
- } else {
- node = node.getMember(crs);
- }
- break;
- }
- }
- return node;
-};
-
-/**
- Returns the JsonObject stored to a specific key
-*/
-JsonObject SettingsManager::getJsonObject(const char *key, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (!item.isNull()) {
- return item.as();
- } else if (addIfMissing) {
- return item.getOrAddMember(key);
- } else {
- return JsonObject();
- }
-}
-
-/**
- Returns the JsonArray stored to a specific key
-*/
-JsonArray SettingsManager::getJsonArray(const char *key, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else if (addIfMissing) {
- return item.getOrAddMember(key);
- } else {
- return JsonArray();
- }
-}
-
-signed int SettingsManager::getInt(const char *key, const signed int defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-unsigned int SettingsManager::getUInt(const char *key, const unsigned int defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-signed short SettingsManager::getShort(const char *key, const signed short defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-unsigned short SettingsManager::getUShort(const char *key, const unsigned short defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-signed long SettingsManager::getLong(const char *key, const signed long defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-unsigned long SettingsManager::getULong(const char *key, const unsigned long defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-char SettingsManager::getCChar(const char *key, const char defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- const char *x = item.as();
- return x[0];
- } else {
- return defaultValue;
- }
-}
-
-signed char SettingsManager::getSChar(const char *key, const signed char defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-unsigned char SettingsManager::getUChar(const char *key, const unsigned char defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-const char *SettingsManager::getChar(const char *key, const char *defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-String SettingsManager::getString(const char *key, const String defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-float SettingsManager::getFloat(const char *key, const float defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-double SettingsManager::getDouble(const char *key, const double defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-bool SettingsManager::getBool(const char *key, const bool defaultValue) {
- JsonVariant item = getJsonVariant(key);
- if (!item.isNull()) {
- return item.as();
- } else {
- return defaultValue;
- }
-}
-
-int SettingsManager::setInt(const char *key, const signed int value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setShort(const char *key, const signed short value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setLong(const char *key, const signed long value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setCChar(const char *key, const char value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setChar(const char *key, const char *value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setString(const char *key, const String value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setFloat(const char *key, const float value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setDouble(const char *key, const double value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
-
-int SettingsManager::setBool(const char *key, const bool value, bool addIfMissing) {
- JsonVariant item = getJsonVariant(key, addIfMissing);
- if (addIfMissing || !item.isNull()) {
- return item.set(value) ? SM_SUCCESS : SM_ERROR;
- } else {
- // DBG("null node");
- return SM_KEY_NOT_FOUND;
- }
-}
diff --git a/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.h b/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.h
deleted file mode 100644
index 80a6f850..00000000
--- a/Firmware/BentoFlowCreator/src/common/settings/SettingsManager.h
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
-
- SettingsManager
-
- Copyright (C) 2017 by Sergiu Toporjinschi
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation version 3.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
- All rights reserved
-
-*/
-
-#pragma once
-#include
-#include "Config.h"
-
-#ifdef ESP32
-# include "SPIFFS.h"
-#endif
-
-#ifdef ESP8266
-# include "FS.h"
-#endif
-
-#include "Macro.h"
-#include "../ArduinoJson/ArduinoJson.h"
-#include