I am a new starter from Hong Kong, self-learning 89c2051 for 3 months,now can use simple BASCOM programme to programe 89c2051,it is great.
i want to build a 3-digits 0-999 count-up counter with
using 89c2051 to drive 3 common anode 7-digits LED.
When input=high, it adds 1 up.
Pls advise circuit and .hex file.
Thanks.
Re: Can anyone advise using 89c2051 to build a count-up coun
hi landrover,
you could use one 8 bit port of the 2051 to connect to the pins of the seven segment display. Use three pins of the other port to select the 3 displays. Now your program should do this:
enable display 1. Send corr. digit to port one(connected to 7 seg).
enable display 2. Send corr. digit to port one(connected to 7 seg).
enable display 3. Send corr. digit to port one(connected to 7 seg).
do this quickly. prabably at 1-10khz so that the flickering would not actually be noticeable.
best of luck,
bye