aboutsummaryrefslogtreecommitdiff
path: root/zumo/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'zumo/control.h')
-rw-r--r--zumo/control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/zumo/control.h b/zumo/control.h
new file mode 100644
index 0000000..12ecbd7
--- /dev/null
+++ b/zumo/control.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "protocol.h"
+
+#define DUI_PINOUT_NICLA_TX 13
+#define DUI_PINOUT_NICLA_RX 14
+
+/** @brief non blocking read byte */
+unsigned char uart_read();
+/** @brief apply state to motors */
+void apply_state(dui_state_t* state);
+