diff --git a/.gitignore b/.gitignore index d657492..27f7770 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -.pioenvs -.piolibdeps +.pio .vscode data/config.json \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8281e64..0f0d740 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,7 +1,7 @@ { - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "platformio.platformio-ide" - ] -} \ No newline at end of file + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ] +} diff --git a/data/config/wifi.json b/data/config/wifi.json index b80fdf3..8aa1588 100644 --- a/data/config/wifi.json +++ b/data/config/wifi.json @@ -1,9 +1,9 @@ { "stationMode": 1, - "hostname": "illucat", - "apSSID": "illucat", - "apPassword": "illumination", + "hostname": "bar-light", + "apSSID": "bar-light", + "apPassword": "th3r31sn0sp00n", "connectTimeout": 5000, - "stationSSID": "wirelos", - "stationPassword": "th3r31sn0sp00n" -} \ No newline at end of file + "stationSSID": "UPC7823296", + "stationPassword": "rthYx4Vnfeza" +}u \ No newline at end of file diff --git a/data/pixelConfig.json b/data/pixelConfig.json index 8adce06..6e89da2 100644 --- a/data/pixelConfig.json +++ b/data/pixelConfig.json @@ -1,7 +1,7 @@ { "pin": 4, "length": 8, - "brightness": 127, + "brightness": 50, "updateInterval": 100, "defaultColor": 100 } \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 89d285f..d62ae60 100644 --- a/platformio.ini +++ b/platformio.ini @@ -8,8 +8,8 @@ ; Please visit documentation for the other options and examples ; http://docs.platformio.org/page/projectconf.html -;[platformio] -;env_default = build +[platformio] +env_default = build [common] framework = arduino @@ -30,6 +30,19 @@ lib_deps = https://gitlab.com/wirelos/sprocket-plugin-neopixel.git +[env:build-esp32] +platform = espressif32 +board = esp32dev +src_filter = +<*> - + +upload_speed = ${common.upload_speed} +monitor_baud = ${common.monitor_baud} +framework = ${common.framework} +build_flags = -DSPROCKET_PRINT=1 +lib_deps = ${common.lib_deps} + https://gitlab.com/wirelos/sprocket-network-wifi.git#next + https://gitlab.com/wirelos/sprocket-plugin-web.git#next + + [env:build] src_filter = +<*> - + platform = ${common.platform} diff --git a/lib/readme.txt b/src/lib/readme.txt similarity index 100% rename from lib/readme.txt rename to src/lib/readme.txt