Pic12f683 PWM and ADC help needed

Thread Starter

fazenfact81

Joined Oct 20, 2013
1
Hi to you all.

I am working on a project to set the pwm with a pot and 3 buttons(ON,OFF,Pulsed).
I managed to do the on,off buttons using A/D input to safe IO's so what i did is read adc1 and set PWM accordingly.

Now for the second part i need to set the pwm with a pot from 0-100% and be able to set the pwm with the buttons.

I use mikroc as compiler. Could you help pls
Thank you in advance
 

tshuck

Joined Oct 18, 2012
3,534
Make sure R9 is connected to ground.

If you don't know which is R9, neither do we - you have given us neither the schematic, nor the code you are using (how do you expect us to help without it?).
 
Top