Hi! Guys! I want to design a delay function that can have any desire delay value input in.ex.delay(20)-- 20ms of delay , delay(1000)- 1s of delay. I got problem when I wanted to convert the value of the integer to hexadecimal value. In addition, the hexadecimal value intialize into TH0 and TL0. Give me your advice. Thank You!
View all questions in Keil forum