- renamed multicore.c to decoder.c and header files respectively

- several changes to pid_control and speed_helper
- measurements are now being "filtered" (x smallest and y biggest values will be discarded to counteract noisy measurements)
- irq priority for core1 adjusted (pid_control irq now has highest priority)
This commit is contained in:
GabrielKoppenstein committed 2022-01-06 20:34:44 +01:00
1 parent 6070af4b10
commit f81cf7fb0b
4 files changed
+194 -165

No files matched your search

+1 -3
View File
@@ -20,16 +20,14 @@ add_compile_options(-Wall
add_executable(
hello_multicore
multicore.c
decoder.c
)
pico_generate_pio_header(hello_multicore ${CMAKE_CURRENT_LIST_DIR}/pwm.pio)
# Add pico_multicore which is required for multicore functionality
target_link_libraries(
hello_multicore
pico_stdlib
hardware_pio
hardware_pwm
hardware_adc
hardware_flash