rename pot to analog as it is quite a generic way to read the input

This commit is contained in:
2018-11-17 11:30:46 +01:00
parent 816963240d
commit baafaa441a
6 changed files with 26 additions and 28 deletions

View File

@@ -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