int test geht

This commit is contained in:
Tristan Krause 2019-03-26 15:02:58 +01:00
parent fae65afe8b
commit adfa389abe
10 changed files with 179 additions and 98 deletions

View file

@ -10,8 +10,13 @@ class USART
{
public:
void init(void);
void writeByte(uint8_t);
void writeInt(uint16_t);
void writeLong(uint32_t);
uint8_t readByte(void);
uint16_t readInt(void);
uint32_t readLong(void);
constexpr static uint8_t MSG_OK = 0xFF;
constexpr static uint8_t MSG_FAIL = 0xFE;