main.cpp 256 Bytes
Newer Older
Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
    }
}