File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed
Language/Functions/Characters Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isAlpha(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isAlpha(this )) // tests if this is a letter
53
+ if (isAlpha(myChar )) // tests if myChar is a letter
54
54
{
55
55
Serial.println("The character is a letter");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isAlphaNumeric(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isAlphaNumeric(this )) // tests if this isa letter or a number
53
+ if (isAlphaNumeric(myChar )) // tests if myChar isa letter or a number
54
54
{
55
55
Serial.println("The character is alphanumeric");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isAscii(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isAscii(this )) // tests if this is an Ascii character
53
+ if (isAscii(myChar )) // tests if myChar is an Ascii character
54
54
{
55
55
Serial.println("The character is Ascii");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isControl(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isControl(this )) // tests if this is a control character
53
+ if (isControl(myChar )) // tests if myChar is a control character
54
54
{
55
55
Serial.println("The character is a control character");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isDigit(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isDigit(this )) // tests if this is a digit
53
+ if (isDigit(myChar )) // tests if myChar is a digit
54
54
{
55
55
Serial.println("The character is a number");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isGraph(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isGraph(this )) // tests if this is a printable character but not a blank space.
53
+ if (isGraph(myChar )) // tests if myChar is a printable character but not a blank space.
54
54
{
55
55
Serial.println("The character is printable");
56
56
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ isHexadecimalDigit(thisChar)
52
52
53
53
[source,arduino]
54
54
----
55
- if (isHexadecimalDigit(this )) // tests if this is an hexadecimal digit
55
+ if (isHexadecimalDigit(myChar )) // tests if myChar is an hexadecimal digit
56
56
{
57
57
Serial.println("The character is an hexadecimal digit");
58
58
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isLowerCase(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isLowerCase(this )) // tests if this is a lower case letter
53
+ if (isLowerCase(myChar )) // tests if myChar is a lower case letter
54
54
{
55
55
Serial.println("The character is lower case");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isPrintable(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isPrintable(this )) // tests if this is printable char
53
+ if (isPrintable(myChar )) // tests if myChar is printable char
54
54
{
55
55
Serial.println("The character is printable");
56
56
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isPunct(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isPunct(this )) // tests if this is a punctuation character
53
+ if (isPunct(myChar )) // tests if myChar is a punctuation character
54
54
{
55
55
Serial.println("The character is a punctuation");
56
56
}
You can’t perform that action at this time.
0 commit comments