Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/00 23:23
Read: times


 
#1951 - RE: Need help with code
hi steve , first of all , thanks for answering.

now ,i'll explain a little bit more on what I have the accomplish with this code :
let's just say for an example that I have a RTC (real time clock) on my 8031 , when a second have passed , it increment's automaticly a byte on the memory.
so I have a byte that count's from 00 till 3Bh (59 decimal = seconds) , now if I want to display this byte on the LCD like a real clock with decimal letters , and not HEX ! , I need to convert this byte in memory , to a Decimal Digits ( so that 3Bh = 59) , and that's the tricky part , I know how to display each digit later , but i'm stuck with the conversion to decimal Digits.
the code I wrote earlier , almost works , it's works ok from 00 till 29 , and then It go craze for 2 seconds (30 and 31 which are 1E and 1F in hex) then it go craze again from seconds 40 till 45.
in conclusion , this code don't work very fine , so that's why I came for your help , need to finish this project till sunday , so I hope any1 of you guys have a good Idea.

thanks
Nir

List of 7 messages in thread
TopicAuthorDate
Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      
RE: Need help with code            01/01/70 00:00      

Back to Subject List