Skip to content
Snippets Groups Projects
Commit 9a81dd5c authored by ed8g20's avatar ed8g20
Browse files

Update 2 files

- /CMakeLists.txt
- /scope.cpp
parent 11c85b0c
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,5 @@ include(drivers/st7789/st7789) ...@@ -28,8 +28,5 @@ include(drivers/st7789/st7789)
# Pull in pico libraries that we need # Pull in pico libraries that we need
target_link_libraries(scope pico_stdlib hardware_spi hardware_pwm hardware_dma rgbled button pico_display pico_graphics st7789) target_link_libraries(scope pico_stdlib hardware_spi hardware_pwm hardware_dma rgbled button pico_display pico_graphics st7789)
pico_enable_stdio_usb(scope 1)
pico_enable_stdio_uart(scope 0)
# create map/bin/hex file etc. # create map/bin/hex file etc.
pico_add_extra_outputs(scope) pico_add_extra_outputs(scope)
...@@ -25,7 +25,6 @@ Button button_y(PicoDisplay::Y); ...@@ -25,7 +25,6 @@ Button button_y(PicoDisplay::Y);
uint8_t red, green, blue; uint8_t red, green, blue;
int main() { int main() {
stdio_init_all();
led.set_rgb(red, green, blue); led.set_rgb(red, green, blue);
st7789.set_backlight(255); st7789.set_backlight(255);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment