Quote Originally Posted by cphillips82 View Post
Can somebody help me find why the hpwm command doesn't compile in this code. I'm using MCS compiler with PBP 2.47
No idea which PIC this is for...or even if said PIC has a PWM module in it...
And these lines:
Code:
define ccp1_reg = portb
define ccp1_bit = 0
Put them in CAPs, like the book says, and you'll discover a brand new error, also explained in the HPWM section of the book...
And which PIC, exactly, has a PWM module assigned to PortB.0?