How do I get this:
byte on = 255;
Serial.println(on);
To print this,
Serial Monitor:
11111111
How do I get this:
byte on = 255;
Serial.println(on);
To print this,
Serial Monitor:
11111111
The simplest way is:
Serial.println(on, BIN);
Leading 0s will be suppressed.