hello everyone !
i want to counting 0 to 20 on common anode dual seven segment
please anybody tell me c code or any algorithm
i have attached image file with this post
thank you
i write code for display "00" on two seven segment
but i do not know how to increment "00" after 1 second and display "01" on seven segment
#include <REGX51.H>
sbit cntr1 = P1^0;
sbit cntr2 = P1^1;
#define disp P2
void delay(unsigned int time)
{
int i,j;
for(i=0;i<time;i++)
for(j=0;j<1275;j++);
}
hello everyone !
i want to counting 0 to 20 on common anode dual seven segment
please anybody tell me c code or any algorithm
i have attached image file with this post
thank you
Let me know that you need to know the logic how program multiplexing or any others, I mean if you know how multiflexing work
it is not important what langage or what microcontroller you are using
Hi guys I have same problem I need to show counter on seven segment which count from 99 to 0, using PIC microcontroller and assembly language ,
any idea ? thanks
thanks a lot sir
The following are the design considerations to be followed:
1. Set the time using a DIP switch (maximum value is 99 seconds)
2. The setting values should be displayed on the seven segment display
3. The spin process should begin when the start button is pressed and then
„h START the Motor (LED ON)
„h The display value on the seven segments should start counting down
4. When the value is zero, STOP the motor (LED OFF)
5. Also modify the spin timer by increasing or decreasing the rotational speed
Did you take action to try the code? If just read and try understand just by reading, you will never do it.
Since, I'm not using Atmel microcontroller and not using assembly language, then not give much commitment here.