Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello everyone
I want to know that how to write a C program into AT90S52 and
it make 7-segment become the number adder
EG. with 5ms 0->1 after 5ms 1 -> 2
thanks
5 ms is too fast. If you use single 7 segment to display value from 0 to 9 then in 50 ms all the digits will be displayed once. You cant see the digits changing. Use at least 500 ms delay. If more than one 7 segment display is used to display numbers then you need to multiplex the displays by driving one display at a time. What do you want to display, integer value or floating point value? What type of display are you using? CC or CA?
You should be using a function to display the integer on the seven segment.
So always display four digits, whether it be less than 4 digits. Add a 0 in front.
When you write your function in this way, it becomes easier..
Its difficult for me to understand how to curry when 9 become 10
Can you write a example program code to shows that how to curry in( when one digital to two digital , two digital to three digital and three digital to four digital
please write more easy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.