Practical Projects in Physical Computing
 
 



NOTES

This code plays with HPWM on the 16F88. There are some things to watch out for when updating HPWM. I have found that it can be quite glitchy. That is because if you only use the PBP HPWM, you will reset all the configurations everytime you send the command. That makes for a jumpy output. It is smoother [and faster] to update the register(s) that hold your duty cycle value. Check the code.

PicBasicCode
HPWM Simply

Back 

Pulse Width Modulation

 




Video

 

 

 

         

 

 
all images and video ©2008 Joel Murphy