Add config.cpp/hpp - macros for all input and output pins - gloabl evaluated switch objects - buzzer object - display config - encoder config Move main.c to main.cpp and adjust code to be c++ compatible add custom library evaluated switch (copied from armchair project) add buzzer object (copied from armchair project) add control.cpp/hpp with control task (no function yet)
11 lines
132 B
C++
11 lines
132 B
C++
#include "control.hpp"
|
|
|
|
|
|
void task_control(void *pvParameter)
|
|
{
|
|
while(1){
|
|
vTaskDelay(500 / portTICK_PERIOD_MS);
|
|
}
|
|
|
|
}
|