Why does Serial.print() have different values depending on how many parenthesis I use? For example:
uint8_t test = 1;
Serial.print(test, DEC); //prints out 1, as it should
Serial.print((test, DEC)); //prints out 10 for some reason
it's not just limited to DEC:
Serial.print(test, HEX); //prints 1
Serial.print((test, HEX)); //prints 16
Serial.print(test, BIN); //prints 1
Serial.print((test, BIN)); //prints 2
Thanks for your help!