got motor running
This commit is contained in:
+2
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user