im using an 08m2 to control an H bridge chip for my scale winch controller and was curious if i could use the poke sfr to switch the output pin for the pwm signal, im sure a long while ago i read this question asked by someone else but cant find what im looking for.
currently i have c.0 and c.1 controlling the P channels of the h bridge and c.2 and c.4 for the two N channels, the pairs for forward and reverse being c.0 (p-ch) + c.2 (n-ch) for forward and c.1 (p-ch) and c.4 (n-ch) for reverse.
after looking at the datasheet for the 12F1840 and the APFcon it seems that the pwm feature can be redirected to several different pins.
what im curious to know from the more experienced is can i by means of the poke sfr command get the pwm output to work so i can pwm one of the pins for the reverse function pins (c.1 or c.4) as i can already use it for forward via c.2 as the default pin
thanks,
tony
currently i have c.0 and c.1 controlling the P channels of the h bridge and c.2 and c.4 for the two N channels, the pairs for forward and reverse being c.0 (p-ch) + c.2 (n-ch) for forward and c.1 (p-ch) and c.4 (n-ch) for reverse.
after looking at the datasheet for the 12F1840 and the APFcon it seems that the pwm feature can be redirected to several different pins.
what im curious to know from the more experienced is can i by means of the poke sfr command get the pwm output to work so i can pwm one of the pins for the reverse function pins (c.1 or c.4) as i can already use it for forward via c.2 as the default pin
thanks,
tony