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.
pic 12f675
GPIO.GP5 = 1; //LED on
GPIO.GP5 = 0;
is incorrect
it should be
GPIO.f5 = 1; //LED on
GPIO.f5 = 0;
f is not case sensitive so you can use either f or F & remember this is only for MikroC.
When you use a compiler you should read its HELP file & sample programs, they help alot.
pic12f675 interrupts
Dear Haseeb,
I've thoroughly read your code, according to me there is nothing wrong but i suggest you to replace the 3 lines:-
ADCON0.GO_DONE = 1; //Start ADC Conversion
while (ADCON0.GO_DONE == 1); //Wait until Conversion finishes...
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.