commit a351a65cf5ff9ec2764455002e20946e0cf21541 from: Matthias L. Jugel date: Tue Nov 14 16:03:49 2023 UTC load config from extra file commit - 8eb21fcd23d78217f12bb31bc13f361b781a02c0 commit + a351a65cf5ff9ec2764455002e20946e0cf21541 blob - 5c2ff30b193ad6b6e9dd20e81680da7e8df51589 blob + 3c11f7165d1f1fd0c59507ddc10b9272104a70e8 --- .gitignore +++ .gitignore @@ -1,3 +1,5 @@ .idea *.iml __pycache__ +venv +**/config.json blob - /dev/null blob + e3d8c471011debeea9364b5d0cc99df2b560c7a5 (mode 644) --- /dev/null +++ README.md @@ -0,0 +1,2 @@ +# ESP32 w/ LED Matrix + blob - 7fbbc79549d898d570ec871c29ea3e330c7d27c2 blob + 1cd32fb32c7361b27cace001767b3987dcbe8a4d --- src/boot.py +++ src/boot.py @@ -1,3 +1,6 @@ -credentials = { - "network": ["legacy", "korean-2007"] -} +import json + +credentials = {} + +with open("config.json", "r") as f: + credentials = json.load(f)