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.
thank you all
I tried to run 2 segments together to do the counting but it didn't work.
Edited the code again :
unsigned short i,j,d_1,d_2;
void setup() {
// set both ports to output
trisa = 0;
trisb = 0;
// clear both ports
porta = 0;
portb = 0;
}
void main() {...
The problem is how do I modify the code to have a counter that counts from 0 to 99 and returns the result in 7 segment 2 digit?
And when running the simulation in this case we get a counter from 0 to 9..
Hello everyone ..
If I want to make a counter from 0 to 99 with the following code, how can I make a function to do that in proteus??.. Note that I am a beginner in PIC..Thank you
Software used:
- Proteus 8.5 Pro
- MikroC
Elements: The diagram is complete:
- Segment Cathode Display
- PIC...
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.