mirror of
https://gitlab.com/wirelos/sprocket-plugin-gpio.git
synced 2025-12-14 21:32:22 +01:00
rename pot to analog as it is quite a generic way to read the input
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
;[platformio]
|
||||
;env_default = Pot, Pot_esp32
|
||||
;env_default = analog
|
||||
|
||||
[common]
|
||||
framework = arduino
|
||||
@@ -15,25 +15,25 @@ lib_deps =
|
||||
https://gitlab.com/wirelos/sprocket-lib.git#develop
|
||||
|
||||
|
||||
[env:pot]
|
||||
[env:analog]
|
||||
platform = ${common.platform}
|
||||
board = ${common.board}
|
||||
framework = ${common.framework}
|
||||
upload_speed = ${common.upload_speed}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
src_filter = +<*> -<examples/> +<examples/pot/> -<inputs/> +<inputs/pot>
|
||||
src_filter = +<*> -<examples/> +<examples/analog/> -<inputs/> +<inputs/analog>
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore =
|
||||
Ai Esp32 Rotary Encoder
|
||||
|
||||
[env:pot_esp32]
|
||||
[env:analog_esp32]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = ${common.framework}
|
||||
build_flags = -std=c++14
|
||||
upload_speed = ${common.upload_speed}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
src_filter = +<*> -<examples/> +<examples/pot/> -<inputs/> +<inputs/pot>
|
||||
src_filter = +<*> -<examples/> +<examples/analog/> -<inputs/> +<inputs/analog>
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore =
|
||||
Ai Esp32 Rotary Encoder
|
||||
@@ -56,6 +56,6 @@ framework = ${common.framework}
|
||||
build_flags = -std=c++14
|
||||
upload_speed = ${common.upload_speed}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
src_filter = +<*> +<inputs/pot> +<inputs/rotary> -<examples/> +<examples/combined/>
|
||||
src_filter = +<*> +<inputs/analog> +<inputs/rotary> -<examples/> +<examples/combined/>
|
||||
lib_deps = ${common.lib_deps}
|
||||
Ai Esp32 Rotary Encoder
|
||||
Reference in New Issue
Block a user