File tree 13 files changed +13
-13
lines changed
Language/Functions/Characters
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
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isSpace(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isSpace(this )) // tests if this is the space character
53
+ if (isSpace(myChar )) // tests if myChar is the space character
54
54
{
55
55
Serial.println("The character is a space");
56
56
}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ isUpperCase(thisChar)
46
46
47
47
[source,arduino]
48
48
----
49
- if (isUpperCase(this )) // tests if this is an upper case letter
49
+ if (isUpperCase(myChar )) // tests if myChar is an upper case letter
50
50
{
51
51
Serial.println("The character is upper case");
52
52
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ isWhitespace(thisChar)
50
50
51
51
[source,arduino]
52
52
----
53
- if (isWhitespace(this )) // tests if this is a white space
53
+ if (isWhitespace(myChar )) // tests if myChar is a white space
54
54
{
55
55
Serial.println("The character is a white space");
56
56
}
You can’t perform that action at this time.
0 commit comments