diff --git a/code/IP400/Inc/usart.h b/code/IP400/Inc/usart.h index 679d83b..a823ff7 100644 --- a/code/IP400/Inc/usart.h +++ b/code/IP400/Inc/usart.h @@ -57,5 +57,6 @@ void USART_Print_string(char *format, ...); void LPUART_RxBuffer_reset(void); size_t gpsbuffer_bytesInBuffer(void); DATA_ELEMENT gpsbuffer_get(UART_TIMEOUT_T timeout); +void LPUART_Send_String(char *str, uint16_t len); #endif /* INC_USART_H_ */ diff --git a/code/IP400/Inc/utils.h b/code/IP400/Inc/utils.h index 8b1fa84..85ddb7d 100644 --- a/code/IP400/Inc/utils.h +++ b/code/IP400/Inc/utils.h @@ -29,6 +29,9 @@ int ascii2Dec(char *dec); // and its double counterpart... double ascii2double(char *val); +// hex to ascii +void hex2ascii(uint8_t hex, char *buf); + // check an entry for floating point BOOL isfloat(char *val);