This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Releases: khoih-prog/RP2040_PWM
Releases · khoih-prog/RP2040_PWM
v1.7.0 for the new `PushPull` mode, to fix bug, etc.
Releases v1.7.0
- Add functions
setPWMPushPull_Int,setPWMPushPullandsetPWMPushPull_Periodfor the newPushPullmode. Check pwm_set_output_polarity #21 - Add these examples to demo the new
PushPullmode
- Fix bug of half frequency when using
phaseCorrectmode - Improve
README.mdso that links can be used in other sites, such asPIO
v1.6.0 to Optimize speed with new `setPWM_manual_Fast` function to improve almost 50% compared to `setPWM_manual` and to add example `PWM_SpeedTest`
Releases v1.6.0
- Optimize speed with new
setPWM_manual_Fastfunction to improve almost 50% compared tosetPWM_manual. Check setPWM latency #19 - Add example PWM_SpeedTest to demo the better speed of new
setPWM_manual_Fastfunction - Modify examples PWM_manual to use new
setPWM_manual_Fastfunction
v1.5.0 for new PWM_manual example, to add function setPWM_DCPercentage_manual() to facilitate the setting PWM DC manually, etc.
Releases v1.5.0
- Add example PWM_manual to demo how to correctly use PWM to generate waveform
- Add function
setPWM_DCPercentage_manual()to facilitate the setting PWM DC manually by usingDCPercentage, instead ofabsolute DCValuedepending on varyingTOP - Add functions
getPin()andgetActualDutyCycle()
v1.4.1 to add example `PWM_StepperControl` to demo how to control Stepper Motor using PWM
Releases v1.4.1
- Add example PWM_StepperControl to demo how to control Stepper Motor using PWM. Check Using PWM to step a stepper driver #16
- Use
allman astyleand addutils
v1.4.0 to fix glitch when dynamically changing dutycycle, to adjust `MIN_PWM_FREQUENCY` and `MAX_PWM_FREQUENCY` dynamically according to actual `F_CPU`
Releases v1.4.0
- Fix glitch when dynamically changing dutycycle. Check Changing Duty Cycle Dynamically Creates Runt PWM pulse #10
- Adjust
MIN_PWM_FREQUENCYandMAX_PWM_FREQUENCYdynamically according to actualF_CPU - Update examples
v1.3.1 to add minimal example `PWM_Basic` to get the user up and running
Releases v1.3.1
- Add
minimalexample PWM_Basic. Check added minimal viable program to get the user up and running #9
v1.3.0 for PWM waveform creation efficiency, to use `uint32_t` for dutyCycle, etc.
Releases v1.3.0
- Add
setPWM_manual(pin, level)function for efficiency in wafeform creation using PWM. Check Duty cycle as integer rather than float #6 - Add example PWM_Waveform_Fast to demonstrate how to use new
setPWM_manual(pin, level)function. - Add
setPWM_Int()function for optionaluint32_t dutycycle = real_dutycycle * 1000. Check Duty cycle as integer rather than float #6 - Add example PWM_DynamicDutyCycle_Int to demonstrate how to use new
setPWM_Int()function. - Rewrite many functions to take advantage of new features.
v1.2.0 to add efficient `setPWM_manual()` function to use in wafeform creation using PWM
Releases v1.2.0
- Add efficient
setPWM_manual()function to use in wafeform creation using PWM. Check Duty cycle as integer rather than float #6 - Add example PWM_Waveform to demonstrate how to use new
setPWM_manual()function in wafeform creation - Optimize library code and examples by using reference-passing instead of value-passing.
v1.1.1 to fix compiler warnings and to display informational warning when `_PWM_LOGLEVEL_` > 3
Releases v1.1.1
- Fix compiler warnings.
- Display informational warning when
_PWM_LOGLEVEL_> 3
v1.1.0 to permit PWM output for both channels of PWM slice, to use float `instead` of `double` for frequency and duty-cycle and to add example PWM_MultiChannel to demonstrate how to use both channels of PWM slice.
Releases v1.1.0
- Permit PWM output for both channels of PWM slice. Check Request for Clarification on PWM Slices and A/B sides #5
- Use float
insteadofdoublefor frequency and duty-cycle - Add example PWM_MultiChannel to demonstrate how to use both channels of PWM slice.