got motor running

This commit is contained in:
Leonetienne
2025-12-14 18:57:28 +01:00
parent d339f5b297
commit bd906add53
14 changed files with 123 additions and 78 deletions
+2 -4
View File
@@ -2,8 +2,7 @@
#include <Arduino.h>
// Will parse serial messages using the serial interface supplied by the dev board
// Expects packets of at max 16 bytes.
// Terminating byte must be 0x0A.
// Expects packets must be 5 bytes.
// Singleton-class
class UartHandler
{
@@ -27,8 +26,7 @@ class UartHandler
bool isOpen() const noexcept;
static constexpr uint8_t TERMINATOR_BYTE = 0x0A;
static constexpr uint8_t PACKET_SIZE = 16;
static constexpr uint8_t PACKET_SIZE = 5;
static constexpr uint8_t PACKET_RINGBUF_SIZE = 16;
private: