I was looking at the code example for the relay shield. I dont undertand this line:
// parse the relay number
int relayNumber = command.charAt(1) - ‘0’;
Specifically, why if you are just parsing for the number at position 1 in the string, do you need to subtract ‘0’?