So I'm making a sketch that takes a two digit number from the usb port, checks the state of the pin that matches the number, then toggles the pin on/off.
For some reason, when I send 13 through the Arduino serial monitor, I get this message back:
Pin number is greater than 14, details:
490
51
541
Meaning that the IDE is sending weird numbers, or the Arduino is processing them wrong. Do any of you see a problem as to why this isn't working right?