2022-03-25 18:26:57 +00:00
|
|
|
set(OUTPUT_NAME servo2040_servo_wave)
|
|
|
|
add_executable(${OUTPUT_NAME} servo2040_servo_wave.cpp)
|
2022-02-11 11:40:04 +00:00
|
|
|
|
|
|
|
target_link_libraries(${OUTPUT_NAME}
|
|
|
|
pico_stdlib
|
|
|
|
servo2040
|
|
|
|
button
|
|
|
|
)
|
|
|
|
|
2022-03-25 23:44:44 +00:00
|
|
|
# enable usb output, disable uart output (so it doesn't confuse any connected servos)
|
2022-02-11 11:40:04 +00:00
|
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
2022-03-25 23:44:44 +00:00
|
|
|
pico_enable_stdio_uart(${OUTPUT_NAME} 0)
|
2022-02-11 11:40:04 +00:00
|
|
|
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|