Defined serial0_write() function

This commit is contained in:
Jake Goodwin 2023-01-14 11:44:48 -08:00
parent a8c4fa09ea
commit d3ea6f445e
1 changed files with 5 additions and 1 deletions

View File

@ -132,7 +132,11 @@ unsigned char rx_usart0(void) {
* Output: None * Output: None
* Description: * 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 * Inupt: A serialbuffer and length