Skip to content
Snippets Groups Projects
Commit ee988b7d authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Modified main.cpp to enable the display buttons.

parent a0e84966
Branches
No related tags found
No related merge requests found
...@@ -4,16 +4,21 @@ ...@@ -4,16 +4,21 @@
#include "command.h" #include "command.h"
#include "state-controller.hpp" #include "state-controller.hpp"
#include "time.hpp" #include "time.hpp"
#include "display.hpp"
#include "buttons.hpp"
int main() int main()
{ {
initTime(); initTime();
initServos(); initServos();
initDisplay();
initUart(); initUart();
initButtons();
while (1) while (1)
{ {
updateState(); updateState();
updateButtons();
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment