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.
Ttelmah
Joined: 11 Mar 2010 Posts: 19602
Posted: Sat Jul 02, 2016 4:13 am
Wrong forum.
This is a forum for CCS C on the PIC. Not Texas ARM controllers.....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum