LEDs and buttons working
This commit is contained in:
parent
4f2fbd8a36
commit
91fd921e2e
33 changed files with 3877 additions and 136 deletions
6
src/lib/utils.cpp
Normal file
6
src/lib/utils.cpp
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include "utils.hpp"
|
||||
|
||||
int modulo(int x, int N)
|
||||
{
|
||||
return (x % N + N) % N;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue