I'm trying to multiply an int variable and make it print the serial monitor , but it prints a char . I am using a Tiva TM4C123GH6PM , and this would be the part of the code that is giving the error:
INT PERIOD;
PERIOD = read () ;
PERIOD = PERIOD * 10;
write ( PERIOD ) ;
read is the read function and write is the print function.