Skip to content

Commit

Permalink
fix(main):delete unused function and variable
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahbagyapan committed Apr 19, 2024
1 parent ab5059e commit 1c05ceb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include "pico/stdlib.h"
#include "stdio.h"


#include "temperature/temperature.c"
#include "uart/uart.h"
Expand All @@ -11,10 +13,9 @@ int main() {

while (1) {

uint8_t ui8TemperatureCelsius = TEMPERATURE_Read();
float fTemperatureC = TEMPERATURE_Read();

UART_PutChar(ui8TemperatureCelsius);
UART_PutChar('\n');
printf("Temperature: %0.2f \n", fTemperatureC);

sleep_ms(1000);
}
Expand Down

0 comments on commit 1c05ceb

Please sign in to comment.