Skip to content

Commit b28946e

Browse files
authored
Merge pull request #1128 from arduino/seaxwi-patch-1
Fix 14-bit ADC value range
2 parents 629b0f7 + 6e3fd60 commit b28946e

File tree

1 file changed

+3
-3
lines changed
  • content/hardware/02.hero/boards/uno-r4-wifi/tutorials/adc-resolution

1 file changed

+3
-3
lines changed

content/hardware/02.hero/boards/uno-r4-wifi/tutorials/adc-resolution/adc-resolution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags:
77
author: 'Karl Söderby'
88
---
99

10-
In this tutorial you will learn how to change the analog-to-digital converter (ADC) on an **Arduino UNO R4 WiFi** board. By default, the resolution is set to 10-bit, which can be updated to both 12-bit (0-4096) and 14-bit (0-65355) resolutions for improved accuracy on analog readings.
10+
In this tutorial you will learn how to change the analog-to-digital converter (ADC) on an **Arduino UNO R4 WiFi** board. By default, the resolution is set to 10-bit, which can be updated to both 12-bit (0-4096) and 14-bit (0-16383) resolutions for improved accuracy on analog readings.
1111

1212
## Goals
1313

@@ -35,10 +35,10 @@ void setup(){
3535
}
3636
3737
void loop(){
38-
int reading = analogRead(A3); // returns a value between 0-65355
38+
int reading = analogRead(A3); // returns a value between 0-16383
3939
}
4040
```
4141

4242
## Summary
4343

44-
This short tutorial show how to update the resolution for your ADC, a new feature available on the UNO R4 WiFi board.
44+
This short tutorial show how to update the resolution for your ADC, a new feature available on the UNO R4 WiFi board.

0 commit comments

Comments
 (0)