
Originally Posted by
abofar
It is sad that we are posting in picbasic pro forum ,you can see many people viwed your post, they just pass by, they do'nt offer any help.i am certain that among them some who know the answer
You have to realize that there are a LOT of novice members here. Just because they don't post does not mean they are ignoring you. Many read threads because they have similar questions, or like me, just want to see if they can learn something new.
I've used PICs since 2004 and have never touched PWM in a serious way.
Robert
EDIT: you can start by making sure your PIC is configured properly, this is just an example from 16F886:
Code:
#CONFIG
__CONFIG _CONFIG1, _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_OFF & _WDT_OFF &
_INTRC_OSC_NOCLKOUT
__CONFIG _CONFIG2, _WRT_OFF & _BOR21V
#ENDCONFIG
http://www.picbasic.co.uk/forum/show...132#post110132
Have you done much searching for CCP and PWM?
Bookmarks