but what about the
For z = 0 to 255
HPWM 1, Z, 1000
Next Z
The For loop will take some cycles away from the CPU wouldn;t it?.. the only reason why I am asking this is because whenever I run a FOr loop I have come across some flickering. but never tried the hardware modules before. maybe it works different. Can you explain more why this does not work
and are there any other DEFINES I need to incorporate into my code to use the HPWM command or that is all I need to do to run the HARDWARE PWM module




Bookmarks