but I contacted the pbp support line and they said that for the first two you can use the HPWM command but for the last two I will need to set up the registers and go through all the process of manually setting the registers and basically they said to do it the long wayyy.. thats is the only way to go about working this 4 channel HPWM feature on the 18F4220. This is waht the pbp support people said.
srigopal.
Bookmarks