I need a little help with getting PWM to start on pin RB3 of the 'F819.
I've read many of the posts and tried many of the recommended solutions. I just can't get the thing to work!
I'm trying to fire up a h bridge using PWM multiplexed on the low sides.
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz)
#FUSES PUT //Power Up Timer
#FUSES MCLR //Master Clear pin enabled
#FUSES BROWNOUT //Reset when brownout detected
#FUSES LVP //Low Voltage Programming on B3(PIC16) or B5(PIC18)
#FUSES NOCPD //No EE protection
#FUSES NOWRT //Program memory not write protected
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOPROTECT //Code not protected from reading
#FUSES CCPB3 //CCP1 input/output multiplexed with RB3
#use delay(clock=10000000)
#define PWM_In PIN_A0 //
#define Current PIN_A1 //
#define HiSideA PIN_A2 //
#define HiSideB PIN_A3 //
#define HiSideC PIN_A4 // Not used
//#define ----- PIN_A5 // Not used
//#define ----- PIN_A6 // Not used Xtal
//#define ----- PIN_A7 // Not used Xtal
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum