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=$?
if [ $res != 0 ]
then
/usr/lib/duck/duck print "Code error! Get good..."
/usr/lib/duck/duck headshake 4
else
/usr/lib/duck/duck print "No errors found.Impressive"
/usr/lib/duck/duck nod 2
fi
......
......@@ -4,16 +4,21 @@
#include "command.h"
#include "state-controller.hpp"
#include "time.hpp"
#include "display.hpp"
#include "buttons.hpp"
int main()
{
initTime();
initServos();
initDisplay();
initUart();
initButtons();
while (1)
{
updateState();
updateButtons();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment