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.
Yes friend, at the new code I have some mistake but I don't know why there is no error at the compiling:oops:
I am relay confused.
I checked it with another PC and receive amazing result!😂
Dear Susan,
Thank you for your precis answers.
This program is very simple and if I wanna explain it, so it is generator of an A-stable (Square wave ) that we can set on and off state duration with switches connected to GP1 and GP2 and Potentiometer connected to GP0.
GP3 is for starting...
Dear Susan,
Thanks for your advise.
I am newbie at micro controller programming. I define ports with "TRISIO" so if need to add more code please tell me.
1597143014
I compiled this source, simulated it and also make a circuit and the circuit work complete but I have a problem that I have not any answer for it.
Thanks
Dear FVM,
Thanks for your replay.
I am newbie at programming
Correct declaration of variable is basically needs but I have a different problem and I am confused .
1596978724
I mean that there is a time delay to change cycle time. Sorry for my weak grammar.
Thanks dear friend,
You are right, if we declared variable as global, they valid in all the body of program.
But I think this is not my main mistake! So by this program, there is no malfunction at the timing except for my problem and if we declared variable as global, problem is not solved...
Hi all,
I am new in micro controller programming.
I decided to make a timer with external trigger(if external command continued we have square wave).
problem is when I change pot connected to micro I should wait one cycle to change time.
for this aim I used time interruption but there was no...
Dear friends,
I have 16-pin components with marking code 1624HV and 1609 from unknown manufacturer.
Can anybody share information about that?
thanks in advance
Dear Friends,
Yes, I have some mistake on schematic but I'm focused on program.
I add code for analog/digital (ADCON1 = 0x07;) and now my program work perfectly.
Thanks for your help.
Dear Okada, do you have program for the schematic? I am very thankful for your help.
Thanks Brian,
1- Yes I pull-down them by resistor connected to ground.
2- Yes two 7-segent are common cathode.
3- I wanna display decimal (00-63)
4- Yes right I forgot that, the code is :
//-------------- Returns mask for common cathode 7-seg. display
unsigned short mask(unsigned short num) {...
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.