LEDs and buttons working

This commit is contained in:
Djuri 2023-11-08 12:18:59 +01:00
parent 4f2fbd8a36
commit 91fd921e2e
33 changed files with 3877 additions and 136 deletions

6
src/lib/utils.cpp Normal file
View file

@ -0,0 +1,6 @@
#include "utils.hpp"
int modulo(int x, int N)
{
return (x % N + N) % N;
}