From 97fe160c6d188e0d882f83065cc61c3da9253825 Mon Sep 17 00:00:00 2001 From: Abdullah Bagyapan Date: Fri, 19 Apr 2024 21:53:13 +0300 Subject: [PATCH] fix(readme):change code block under section "The Code" --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a98487..5c70714 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,9 @@ int main() { while (1) { - uint8_t ui8TemperatureCelsius = TEMPERATURE_Read(); + float fTemperatureC = TEMPERATURE_Read(); - UART_PutString(ui8TemperatureCelsius); - UART_PutChar('\n'); + printf("Temperature: %0.2f \n", fTemperatureC); sleep_ms(1000); }