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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/05/09 10:54
Read: times


 
#168744 - Strange
Responding to: ???'s previous message
Cheong Zhi Yoong said:
i am designing a game and i need to record the points [score?] in binary code with 4 led.

That seems a strange idea - or is this just a homework exercise?

my idea is using a counter, count every round i win, then move it to p1( if my led is connect in p1.0, p1.1, p1.2, p1.3), is it correct?

Yes, that would work - assuming the LEDs are appropriately connected...

how can i programme it in assembly language?

I guess you should start with the Tutorial: http://www.8052.com/tutorial
Look at 'Books' in the Links page: http://www.8052.com/links
And: http://www.8052.com/book/
And: http://www.keil.com/books/8051books.asp

And, of course, the so-called "bible" for the 8051: http://www.8052.com/faqs/120112




List of 2 messages in thread
TopicAuthorDate
Need help for points record            01/01/70 00:00      
   Strange            01/01/70 00:00      

Back to Subject List