Skip to content

Commit 54ed18a

Browse files
authored
Merge pull request #649 from animeshsrivastava24/patch-22
Fixed code syntax related typo in analogRead
2 parents 821cfcd + 660fbe6 commit 54ed18a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Analog IO/analogRead.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ On ATmega based boards (UNO, Nano, Mini, Mega), it takes about 100 microseconds
3232
|===================================================
3333

3434
*A0 through A5 are labelled on the board, A6 through A11 are respectively available on pins 4, 6, 8, 9, 10, and 12 +
35-
**The default analogRead() resolution for these boards is 10 bits, for compatibility. You need to use link:../../zero-due-mkr-family/analogreadresolution[analogReadResolution()] to change it to 12 bits.
35+
**The default `analogRead()` resolution for these boards is 10 bits, for compatibility. You need to use link:../../zero-due-mkr-family/analogreadresolution[analogReadResolution()] to change it to 12 bits.
3636

3737
[%hardbreaks]
3838

@@ -82,7 +82,7 @@ void loop() {
8282

8383
[float]
8484
=== Notes and Warnings
85-
If the analog input pin is not connected to anything, the value returned by analogRead() will fluctuate based on a number of factors (e.g. the values of the other analog inputs, how close your hand is to the board, etc.).
85+
If the analog input pin is not connected to anything, the value returned by `analogRead()` will fluctuate based on a number of factors (e.g. the values of the other analog inputs, how close your hand is to the board, etc.).
8686

8787
--
8888
// HOW TO USE SECTION ENDS

0 commit comments

Comments
 (0)