Skip to content
Snippets Groups Projects
Commit 6c8ecda6 authored by jp7g21's avatar jp7g21
Browse files

Merge remote-tracking branch 'refs/remotes/origin/master'

parents f0b4716c d41211bc
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,10 @@ res=$? ...@@ -5,8 +5,10 @@ res=$?
if [ $res != 0 ] if [ $res != 0 ]
then then
/usr/lib/duck/duck print "Code error! Get good..."
/usr/lib/duck/duck headshake 4 /usr/lib/duck/duck headshake 4
else else
/usr/lib/duck/duck print "No errors found.Impressive"
/usr/lib/duck/duck nod 2 /usr/lib/duck/duck nod 2
fi fi
......
...@@ -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