Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Releases: khoih-prog/RP2040_PWM

v1.7.0 for the new `PushPull` mode, to fix bug, etc.

31 Jan 06:47
f26b6dc
Compare
Choose a tag to compare

Releases v1.7.0

  1. Add functions setPWMPushPull_Int, setPWMPushPull and setPWMPushPull_Period for the new PushPull mode. Check pwm_set_output_polarity #21
  2. Add these examples to demo the new PushPull mode
  1. Fix bug of half frequency when using phaseCorrect mode
  2. Improve README.md so that links can be used in other sites, such as PIO

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`

26 Jan 20:26
00f8e95
Compare
Choose a tag to compare

Releases v1.6.0

  1. Optimize speed with new setPWM_manual_Fast function to improve almost 50% compared to setPWM_manual. Check setPWM latency #19
  2. Add example PWM_SpeedTest to demo the better speed of new setPWM_manual_Fast function
  3. Modify examples PWM_manual to use new setPWM_manual_Fast function

v1.5.0 for new PWM_manual example, to add function setPWM_DCPercentage_manual() to facilitate the setting PWM DC manually, etc.

25 Jan 02:29
353f9e3
Compare
Choose a tag to compare

Releases v1.5.0

  1. Add example PWM_manual to demo how to correctly use PWM to generate waveform
  2. Add function setPWM_DCPercentage_manual() to facilitate the setting PWM DC manually by using DCPercentage, instead of absolute DCValue depending on varying TOP
  3. Add functions getPin() and getActualDutyCycle()

v1.4.1 to add example `PWM_StepperControl` to demo how to control Stepper Motor using PWM

22 Jan 05:04
157e8a3
Compare
Choose a tag to compare

Releases v1.4.1

  1. Add example PWM_StepperControl to demo how to control Stepper Motor using PWM. Check Using PWM to step a stepper driver #16
  2. Use allman astyle and add utils

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`

15 Oct 05:21
0c05097
Compare
Choose a tag to compare

Releases v1.4.0

  1. Fix glitch when dynamically changing dutycycle. Check Changing Duty Cycle Dynamically Creates Runt PWM pulse #10
  2. Adjust MIN_PWM_FREQUENCY and MAX_PWM_FREQUENCY dynamically according to actual F_CPU
  3. Update examples

v1.3.1 to add minimal example `PWM_Basic` to get the user up and running

12 Sep 00:11
756c069
Compare
Choose a tag to compare

v1.3.0 for PWM waveform creation efficiency, to use `uint32_t` for dutyCycle, etc.

17 Apr 00:04
9d4ff6e
Compare
Choose a tag to compare

Releases v1.3.0

  1. Add setPWM_manual(pin, level) function for efficiency in wafeform creation using PWM. Check Duty cycle as integer rather than float #6
  2. Add example PWM_Waveform_Fast to demonstrate how to use new setPWM_manual(pin, level) function.
  3. Add setPWM_Int() function for optional uint32_t dutycycle = real_dutycycle * 1000. Check Duty cycle as integer rather than float #6
  4. Add example PWM_DynamicDutyCycle_Int to demonstrate how to use new setPWM_Int() function.
  5. 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

16 Apr 04:58
51e1826
Compare
Choose a tag to compare

Releases v1.2.0

  1. Add efficient setPWM_manual() function to use in wafeform creation using PWM. Check Duty cycle as integer rather than float #6
  2. Add example PWM_Waveform to demonstrate how to use new setPWM_manual() function in wafeform creation
  3. 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

07 Mar 01:34
ebc0fa6
Compare
Choose a tag to compare

Releases v1.1.1

  1. Fix compiler warnings.
  2. 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.

25 Feb 01:04
649ddbb
Compare
Choose a tag to compare

Releases v1.1.0

  1. Permit PWM output for both channels of PWM slice. Check Request for Clarification on PWM Slices and A/B sides #5
  2. Use float instead of double for frequency and duty-cycle
  3. Add example PWM_MultiChannel to demonstrate how to use both channels of PWM slice.