Disable uart on all examples to avoid confusing servos

This commit is contained in:
ZodiusInfuser 2022-03-25 23:44:44 +00:00
parent 5212b6a39f
commit d4a1f6ed61
6 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,8 @@ target_link_libraries(${OUTPUT_NAME}
button
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})

View File

@ -6,7 +6,8 @@ target_link_libraries(${OUTPUT_NAME}
servo2040
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})

View File

@ -6,7 +6,8 @@ target_link_libraries(${OUTPUT_NAME}
servo2040
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})

View File

@ -7,7 +7,8 @@ target_link_libraries(${OUTPUT_NAME}
button
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})

View File

@ -7,7 +7,8 @@ target_link_libraries(${OUTPUT_NAME}
button
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})

View File

@ -6,7 +6,8 @@ target_link_libraries(${OUTPUT_NAME}
servo2040
)
# enable usb output
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
pico_add_extra_outputs(${OUTPUT_NAME})