diff --git a/examples/tilt-demo/platformio.ini b/examples/tilt-demo/platformio.ini new file mode 100644 index 0000000..81374ee --- /dev/null +++ b/examples/tilt-demo/platformio.ini @@ -0,0 +1,21 @@ +; PlatformIO Project Configuration File +; +; Build options: build flags, source filter +; Upload options: custom upload port, speed and extra flags +; Library options: dependencies, extra library storages +; Advanced options: extra scripting +; +; Please visit documentation for the other options and examples +; https://docs.platformio.org/page/projectconf.html + +[env:waveshare-esp32s3-matrix] +platform = espressif32 +board = adafruit_feather_esp32s3 +framework = arduino +lib_deps = + fastled/FastLED@^3.9.20 + adafruit/Adafruit NeoPixel@^1.12.0 + lewisxhe/SensorLib@^0.2.5 +lib_extra_dirs = ../../lib +monitor_speed = 115200 +upload_speed = 921600 diff --git a/examples/tilt-demo/Game.ino b/examples/tilt-demo/src/Game.ino similarity index 100% rename from examples/tilt-demo/Game.ino rename to examples/tilt-demo/src/Game.ino diff --git a/examples/tilt-demo/WS_Matrix.cpp b/examples/tilt-demo/src/WS_Matrix.cpp similarity index 100% rename from examples/tilt-demo/WS_Matrix.cpp rename to examples/tilt-demo/src/WS_Matrix.cpp diff --git a/examples/tilt-demo/WS_Matrix.h b/examples/tilt-demo/src/WS_Matrix.h similarity index 100% rename from examples/tilt-demo/WS_Matrix.h rename to examples/tilt-demo/src/WS_Matrix.h diff --git a/examples/tilt-demo/WS_QMI8658.cpp b/examples/tilt-demo/src/WS_QMI8658.cpp similarity index 100% rename from examples/tilt-demo/WS_QMI8658.cpp rename to examples/tilt-demo/src/WS_QMI8658.cpp diff --git a/examples/tilt-demo/WS_QMI8658.h b/examples/tilt-demo/src/WS_QMI8658.h similarity index 100% rename from examples/tilt-demo/WS_QMI8658.h rename to examples/tilt-demo/src/WS_QMI8658.h