title: How to print in Arduino a char variable as a number to the Serial Port?
body: <p>I am using Arduino Uno. I am reading a byte value from the EEPROM and storing the value in a variable of type <code>char</code> (1 byte).</p>
  
  <p>I want to print the value of the variable as a number (not to the corresponding ASCII code) to the Serial Monitor. For example consider <code>char val = 5</code>.
  I want to see to the Serial Monitor <code>5</code> and not the ASCII value.</p>
  
  <p>I tried both <code>Serial.print(val)</code> and <code>Serial.write(val)</code> but the result is the same: it prints always the ASCII code.</p>
  
  <p>How can I print the value to the Serial Monitor?</p>
  
  <p>Thanks in advance.</p>