Hi I have some question about timer.If i recive one signal squarewave and i want to detect it only 1 period and i want to know the time of it .How i can do it . i haved tried to use capcom but i don't know how it work !!!! i have another question how i can change number in base 16 to base 10 and how i can change number in base 10 to base 16 thank you i use c167cr
"the %u and %d specifiers print in base 10. %x (or %X) prints in base 16 (hexadecimal)." To be precise, they print an int in base 10 or 16; see the Manual for printing char and other types...
A very good point when using the Keil tools! The byte specifiers (%bu, etc) are vital, as printf() has a variable argument list and the Keil tools optimize char parameter passing.