16.1.2 C / C++
Le programme « thermometre » sera une modification de l'exemple « hello_adc »
Copie de l'exemple « hello_adc » dans le répertoire « thermometre » pour modification
Renommage du fichier source en « thermometre.c »
Modification du fichier « CMakeLists.txt »
add_executable(thermometre
thermometre.c
)
target_link_libraries(thermometre pico_stdlib hardware_adc)
# create map/bin/hex file etc.
pico_add_extra_outputs(thermometre)
# add url via pico_set_program_url
example_auto_set_url(thermometre)