Using PWM
Posted: Thu Aug 23, 2007 7:15 pm
A little article on using PWM with Swordfish...
http://www.sfcompiler.co.uk/wiki/pmwiki ... shUser.PWM
http://www.sfcompiler.co.uk/wiki/pmwiki ... shUser.PWM
Code: Select all
MAX_DUTY = Word((PR2+1) << 2)