Skip to content

Commit a50bfec

Browse files
committed
Add arduino style for code block
1 parent dedad92 commit a50bfec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/Hardware Support/Generic/Calibrate-the-internal-temperature-sensor-on-an-Arduino-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Calibrating the internal sensor can correct these inaccuracies, giving you more
2323

2424
Once you have determined the offset, you can adjust the temperature readings in your sketch. Locate the part of the code that retrieves the temperature value and subtract the offset. For example:
2525

26-
```
26+
```arduino
2727
float temperature = sensor.readTemperature(); // Function to get temperature from the sensor
2828
2929
float offset = 5; // Your calculated offset

0 commit comments

Comments
 (0)