Embedded C program to display 0 to 9 on 7 segment display with Keil and Proteus combination
Вставка
- Опубліковано 14 гру 2024
- Seven segment display Common anode to display numbers 0 to 9 using Keil and Proteus hardware simulation for 8051 microcontroller
Man he deserves more likes, this is the first time i'm enjoying doing 8051
It is with c programing
Or 8051 microprocessor...????
🙄🙄🤔🤔🤔
@@rajaramyadav7546 8051
Thankyou so much brother your video helped me to face 100 marks electronic practical s
Great 👍
Brother please help me l need your help please please bro
a learning room please help me brother l need your help
Microcontroller is hardest subject in cse all hardware subjects are complicated
Helping lecture appreciated 👍👍
Hi sir I am getting this error -> 7segment.c(8): error C141: syntax error near 'while', expected ';'
for prog line -> while(1)
I have typed same program. Unable to create hex file as well.
I am using latest version of keil uvision and proteus 8.6
Very nice and thank you sir
In keil programming you wrote i
That is the buffer he gave. You can consider it as frequency as well. 1sec = 1000 milisec, so like that, or else the numbers will flash super fast.
And bro remember f hz =1/t sec
How to write the same program in ALP?
Hello sir.... Where I get seg[10]={0xc0,0xf9........}
Data.... We have to remember this...???? Please reply?
When we turn off the seven segment display what we write in program
I want to do for bidirectional seven segment object counter. How can i do that?
I can't able to find my (.hex) file.....How to find sir???Please help!
Hi why we use 0xc0,0xf4 etc
Hlw sir, I am making a project of flexible transmission line using TSR, 8051 microcontroller is used in it but I can't understand its coding part , can you please provide the code for that??
Thank you 🙏🙏🙏
Hi,
I'm Taral Mehta,
I am trying to make one small project for my knowledge. I want some help from your side, I want to use an 8051 microcontroller with 2x seven segment display. I want to add three modes in that display by coding ,please help me in this part , I am stuck in it.
Very nice
Tnks sir
nice one
Who heard a baby crying in the background?
I want fron 99 to 00..how sir
HI sir i am not able to install protues software.. could u please help me
send me text mail to ysnanda45@gmail.com. i will send link. Tq
Sir I think it is int x not char x
bhai dakhlay koi bachi rorahe ya raha hay
Very very tqq you sir
Thanks Guguloth Rosy
a learning room please sir l need your help to write the program that count only from 7 to 9
@@alllife924so in unsigned seg put only that two no.
Hi I contact u
Nice sir but we want to display 0 to 99 what we have to do
thanks Guriji
Thank you Guriji....
here is code for 0-99
/* Main.c file generated by New Project wizard
*By Dolen Sharma
* Created: Sun Sep 4 2016
* Processor: AT89C51
* Compiler: Keil for 8051
*/
#include
#include
void delay_timer();
void count_number();
unsigned char arr[10] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x67}; // HEX FOR COMMON CATHODE21
void main(void)
{
P2 = 0x00; // OFF WHEN START SIMULATE
P3 = 0x00; // OF WHEN START SIMULATE
while (1)
{
count_number();
}
}
void delay_timer() // this function to create delay timer to our eyes can see numbers are displays
{
int i;
TMOD = 0x01;
for(i=0;i