Sometimes manufacturers try to use GPIO pins for PWM that aren't in any of the CT16 banks, or pins that are both in A and B PWM banks causing the last picked one to override the other. Try to workaround it by doing software pwm in that case, timed by the hardware timer.
The driver defaults to hardware pwm control. In order to use the software control, add in config.h
#define SN32_PWM_CONTROL SOFTWARE
Description
Types of Changes
[ ] Core
[ ] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Keyboard (addition or update)
[ ] Keymap/layout/userspace (addition or update)
[ ] Documentation
Issues Fixed or Closed by This PR
124
Checklist
[ ] My code follows the code style of this project: C, Python
Sometimes manufacturers try to use GPIO pins for PWM that aren't in any of the CT16 banks, or pins that are both in A and B PWM banks causing the last picked one to override the other. Try to workaround it by doing software pwm in that case, timed by the hardware timer.
The driver defaults to hardware pwm control. In order to use the software control, add in config.h
#define SN32_PWM_CONTROL SOFTWARE
Description
Types of Changes
Issues Fixed or Closed by This PR
124
Checklist