diff --git a/emb/main.cpp b/emb/main.cpp new file mode 100644 index 0000000000000000000000000000000000000000..52198fb79f4c6e3eee96247a37cea91e4bf20035 --- /dev/null +++ b/emb/main.cpp @@ -0,0 +1,19 @@ +#include <avr/io.h> +#include "servos.hpp" +#include "uart.hpp" +#include "command.h" +#include "state-controller.hpp" +#include "time.hpp" + +int main() +{ + initTime(); + initServos(); + initUart(); + + while (1) + { + updateState(); + } +} +