Jiggy-Ninja:
From the file \Arduino\hardware\arduino\cores\arduino\Arduino.h
typedef uint8_t boolean;
It's just an 8-bit unsigned integer value.
Here's a little sketch to show you the difference between a bool and a boolean.
bool b;
boolean bn;
void setup() {
Serial.begin(115200);
for (int i = -2; i < 3; i += 2) {
b = i;
bn = i;
Serial.print(b);
if (b) {
Serial.println(" b is true");
}
else {
Serial.println(" b is false");
}
Serial.print(bn);
if (bn) {
Serial.println(" bn is true");
}
else {
Serial.println(" bn is false");
}
}
}
void loop() {
}