adding oled support

This commit is contained in:
Adolfo Reyna
2025-11-18 13:10:54 -05:00
parent fe2b2c2e2b
commit 5bb9ccbdc5
3 changed files with 119 additions and 3 deletions

View File

@@ -36,12 +36,14 @@ pico_sdk_init()
# Add executable. Default name is the project name, version 0.1
if (TARGET tinyusb_device)
add_executable(hello_usb
hello_usb.c
add_executable(hello_usb
hello_usb.cpp
)
add_subdirectory(pico-ssd1306)
# pull in common dependencies
target_link_libraries(hello_usb pico_stdlib)
target_link_libraries(hello_usb pico_stdlib pico_ssd1306 hardware_i2c)
# enable usb output, disable uart output
pico_enable_stdio_usb(hello_usb 1)