From b144634601a5c793884784fe04a08cbab3e76e05 Mon Sep 17 00:00:00 2001 From: adrcs Date: Mon, 10 Feb 2025 13:04:21 -0700 Subject: [PATCH] Updated to Rev 04b --- code/IP400/Inc/usart.h | 1 + code/IP400/Inc/utils.h | 3 +++ 2 files changed, 4 insertions(+) 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);