Description

Analyse if a char is printable (that is any character that produces an output, even a blank space). Returns true if thisChar is printable.

Syntax

`isAlpha(thisChar)`

Parameters

thisChar: variable. Allowed data types: char

Returns

true: if thisChar is printable.

Example Code

if (isPrintable(this))      // tests if this is printable char
{
	Serial.println("The character is printable");
}
else
{
	Serial.println("The character is not printable");
}

See also

Guide Home