I haven't worked through your code in detail, but the HWPWM is 10 bits wide so 50% dutycycle would be 512. I also don't see a lot of configuration code, but I'm not familiar with PBP3. PBP 2.6 doesn't have a HWPWM command.
I haven't worked through your code in detail, but the HWPWM is 10 bits wide so 50% dutycycle would be 512. I also don't see a lot of configuration code, but I'm not familiar with PBP3. PBP 2.6 doesn't have a HWPWM command.
Bookmarks