Defined serial0_write() function
This commit is contained in:
parent
a8c4fa09ea
commit
d3ea6f445e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue