Skip to content

Commit

Permalink
Added platformio.ini
Browse files Browse the repository at this point in the history
Switched to QT Py SAMD21
Updated .gitignore
  • Loading branch information
jasoncoon committed Apr 9, 2022
1 parent c44b09b commit 27495e9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.DS_Store
.pio
.vscode
node_modules
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/ipch
.vscode/launch.json
fastled-map-demo/build/
fastled-map-demo/libdeps/
node_modules
2 changes: 1 addition & 1 deletion fastled-map-demo/fastled-map-demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ FASTLED_USING_NAMESPACE
#endif

// change these to match your data pin, LED type, and color order
#define DATA_PIN D5
#define DATA_PIN A10
#define LED_TYPE WS2812B
#define COLOR_ORDER GRB

Expand Down
21 changes: 21 additions & 0 deletions fastled-map-demo/platformio.ini
Original file line number Diff line number Diff line change
@@ -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

[platformio]
src_dir = ./

[env]
framework = arduino
lib_deps =
fastled/FastLED @ 3.5.0

[env:adafruit_qt_py_m0]
platform = atmelsam
board = adafruit_qt_py_m0

0 comments on commit 27495e9

Please sign in to comment.