void setup() {
uint8_t c = 50; // this is the value of character '2' in ASCII
Serial.begin(115200);
Serial.println(c-48);//prints the value of c - 48 = 2
}
void setup() {
uint8_t c = 50; // this is the value of character '2' in ASCII
Serial.begin(115200);
Serial.println(c-48);//prints the value of c - 48 = 2
}