From ab4db036315f8f6e414c2f22ee451dfc36c45cb7 Mon Sep 17 00:00:00 2001
From: abp1g20 <abp1g20@soton.ac.uk>
Date: Wed, 4 May 2022 14:07:58 +0000
Subject: [PATCH] Replace main.c

---
 main.c | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/main.c b/main.c
index 4911d2f..969052a 100644
--- a/main.c
+++ b/main.c
@@ -7,17 +7,19 @@
 #include "lib/fonts.h"
 #include "lib/st7735.h"
 
-//this task covers how to use the on-board temperature sensor in the RP2040 chip on the Raspberry pi Pico
-//it uses the analogue to digital converter (ADC) in the Pico to read the internal temperature of the RP2040 and
-//does the necessary data conversion to output the temperature of the chip
-
-//also covers how to perform the required data processing to take the raw ADC output and convert it
-//into a voltage and then into temperature
-
-//the temperature sensor might not be calibrated so temperatures might differ in different
-//boards due to manufacturing inconsistencies
-//as such, if you will be using this in a serious project that requires an accurate temperature value,
-//I would recommend using an external sensor.
+/*
+this task covers how to use the on-board temperature sensor in the RP2040 chip on the Raspberry pi Pico
+it uses the analogue to digital converter (ADC) in the Pico to read the internal temperature of the RP2040 and
+does the necessary data conversion to output the temperature of the chip
+
+also covers how to perform the required data processing to take the raw ADC output and convert it
+into a voltage and then into temperature
+
+the temperature sensor might not be calibrated so temperatures might differ in different
+boards due to manufacturing inconsistencies
+as such, if you will be using this in a serious project that requires an accurate temperature value,
+I would recommend using an external sensor.
+*/
 
 int main() {
 
-- 
GitLab