Restructure files

This commit is contained in:
Lexi / Zoe 2021-04-03 17:40:17 +02:00
parent 8c7b62dc2d
commit b5f86d5972
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
13 changed files with 29 additions and 20 deletions

View file

@ -1,22 +0,0 @@
#ifndef UART_H_
#define UART_H_
#include "config.h"
#include <avr/io.h>
// Initialize UART
void uartInit();
// Transmit a single character
void uartPutChar(unsigned char data);
// Transmit a string
void uartPutString(char* data);
// Read a single character (blocking)
unsigned char uartGetChar();
// Read a string until \n (blocking)
uint8_t uartGetLine(char* buffer, uint8_t maxLength);
#endif /* UART_H_ */