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.
I have this code in mikroC, it reads the 1k potentiometer, but when i use 5k potentiometer, it won't read.
potentiometer_value = ADC_Read(2);// Get 10-bit results of AD conversion
Is there any code to Get Get 16-bit results of AD conversion?
how to connect the pull up resistor to the MCLR? Resistor in between the pin and the ground or a resistor in between the pin and the +5v?
---------- Post added at 15:33 ---------- Previous post was at 15:15 ----------
My program and simulation is now working. Thank you so much for your help...
I connect the button in between the +5v and the pin. What do you mean by "only a flag should be set in the interrupt"?
---------- Post added at 10:20 ---------- Previous post was at 10:19 ----------
I try not to put delay in the interrupt but still doesn't work.
---------- Post added at 10:49...
Hi Tahmid,
I am using mickoC and proteus for simulation.
Please tell me some advices regarding the problem of this code.
This code is for our traffic light project and I've got a problem with the push button(which is the interrupt), it won't work.
int j=5;
int i=0;
int count = 0;
void...
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.