aboutsummaryrefslogtreecommitdiff
path: root/robot/sim.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-23 13:40:17 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-23 13:40:17 +0200
commit92c394b44cc846ba044c2862b4f08eadc2160805 (patch)
treed065e8c58c7da82ec00ec5fe6ecbd091a3516442 /robot/sim.h
parent33540c7855d52343eb943d3a5144d6b736c234da (diff)
WIP serial receive
Diffstat (limited to 'robot/sim.h')
-rw-r--r--robot/sim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/robot/sim.h b/robot/sim.h
index c872dda..75f6a5c 100644
--- a/robot/sim.h
+++ b/robot/sim.h
@@ -44,3 +44,5 @@ void clear(); // NOLINT
void play(const char* melody); // NOLINT
void serial_set_baud_rate(unsigned int rate); // NOLINT
void serial_send(char* message, unsigned int length); // NOLINT
+void serial_receive_ring(char* buffer, unsigned char size); // NOLINT
+unsigned char serial_get_received_bytes(); // NOLINT