HI all, I'm a newbie here. I need your help, does one of you know how is the code to countdown from 99 with 7 segment and atmel 89s51 or 89s52?
plz help me soon..
cinderella_nez
0
Newbie Poster
Recommended Answers
Jump to PostI'm sure some of us do, but we're not likely to just give it to you just because you ask.
See the intro threads, we don't give free homework.
Show us what you've managed so far, and then we'll help you with the next step.
Jump to PostWhy would you want to program it in assembly? AVR-studio can compile C for the 89s51. So the code would look like:
char i; for (i=99; i >0; i--) { //write 'i' to 7-seg }
Without knowing how you connected everything, that's all I can tell you
All 8 Replies
Salem
5,138
Posting Sage
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Colin Mac
53
Posting Whiz
Salem
5,138
Posting Sage
binu_ji
0
Newbie Poster
Colin Mac
53
Posting Whiz
binu_ji
0
Newbie Poster
abhisdm
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.