Skip to content

Commit

Permalink
fix(readme):change code block under section "The Code"
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahbagyapan committed Apr 19, 2024
1 parent 0af6692 commit 97fe160
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 97fe160

Please sign in to comment.