Code to input character from SIO