rangerskm
Full Member level 4

mplab ide ,hi tech c compiler
here in the expression is
y2 is ones and y1 is tens
Y=((y1*10)+y2);
i want to send Y as hexadecimal format to another function.
EX :
y1=2
y2=4
Y =((2*10)+4)=24
now i want to send this 24 in hex format argument to another function
please guide me in this..
as 0x24
here in the expression is
y2 is ones and y1 is tens
Y=((y1*10)+y2);
i want to send Y as hexadecimal format to another function.
EX :
y1=2
y2=4
Y =((2*10)+4)=24
now i want to send this 24 in hex format argument to another function
please guide me in this..
as 0x24