diff --git a/avr_usart.c b/avr_usart.c index f805957..8635be3 100644 --- a/avr_usart.c +++ b/avr_usart.c @@ -132,7 +132,11 @@ unsigned char rx_usart0(void) { * Output: None * Description: */ - +void serial0_write(char* buffer, uint8_t write_length) { + for(uint8_t i = 0; i < write_length; i++) { + tx_usart0(buffer[i]); + } +} /* * Inupt: A serialbuffer and length