compiles and run example
This commit is contained in:
1
.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
1
.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
[]
|
||||||
1
.vscode/.cortex-debug.registers.state.json
vendored
Normal file
1
.vscode/.cortex-debug.registers.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
[]
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
# EnergyMonitor_Pico
|
# EnergyMonitor_Pico
|
||||||
|
|
||||||
|
Newer version of Energy Monitor with RPi Pico 2040 microcontroller & e-Paper display
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user