+ fact 1: we cannot use D1-D4 set. (D2 for LED, D4 for TXD1) + fact 2: using D5-D8 set again. (N.B. but to get proper stepping sequence w/ accelstepper lib. u need to CROSS D6 and D7 wiring, otherwise very poor torque & uni-directional not sane movements.)
48 lines
877 B
INI
48 lines
877 B
INI
; 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]
|
|
default_envs = d1_mini_pro
|
|
|
|
[env]
|
|
framework = arduino
|
|
upload_speed = 921600
|
|
upload_port =
|
|
/dev/ttyUSB0
|
|
/dev/tty.SLAB_USBtoUART
|
|
lib_deps =
|
|
SPI
|
|
Wire
|
|
64
|
|
1269
|
|
265
|
|
|
|
[env:nodemcuv2]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
ESP8266WiFi
|
|
|
|
[env:d1_mini_pro]
|
|
platform = espressif8266
|
|
board = d1_mini_pro
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
ESP8266WiFi
|
|
upload_speed = 460800
|
|
|
|
[env:nanoatmega328_TEST]
|
|
platform = atmelavr
|
|
board = nanoatmega328
|
|
lib_deps =
|
|
265
|
|
upload_speed = 57600
|