Disable uart on all examples to avoid confusing servos
This commit is contained in:
parent
5212b6a39f
commit
d4a1f6ed61
|
@ -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})
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue