compiles and run example

This commit is contained in:
Emanuele Trabattoni
2021-05-16 14:24:45 +02:00
parent a6cf43860e
commit cbdc29724e
4 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1 @@
[]

View File

@@ -1,2 +1,4 @@
# EnergyMonitor_Pico # EnergyMonitor_Pico
Newer version of Energy Monitor with RPi Pico 2040 microcontroller & e-Paper display

View File

@@ -4,5 +4,9 @@ add_executable(emon main.cpp)
# Pull in our pico_stdlib which aggregates commonly used features # Pull in our pico_stdlib which aggregates commonly used features
target_link_libraries(emon pico_stdlib) target_link_libraries(emon pico_stdlib)
# enable usb output, disable uart output
pico_enable_stdio_usb(emon 1)
pico_enable_stdio_uart(emon 0)
# create map/bin/hex/uf2 file etc. # create map/bin/hex/uf2 file etc.
pico_add_extra_outputs(emon) pico_add_extra_outputs(emon)