int test geht
This commit is contained in:
parent
fae65afe8b
commit
adfa389abe
10 changed files with 179 additions and 98 deletions
5
usart.h
5
usart.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue