Zustünde Switch und Power publishen

This commit is contained in:
Bernhard
2025-12-08 19:36:05 +01:00
parent 48d3251247
commit b10547e070
7 changed files with 79 additions and 14 deletions

3
main.c
View File

@@ -129,6 +129,9 @@ void *thread_func(void *data)
// initialize cyclic task
periodic_task_init(1, &pinfo);
// "Zündung" ein
WriteOutputPin(GPIO_OUT_PWRON, 1);
// cyclic call of do_cyclic_1ms()
while (iThreadControl == 0)
{