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

Commit

Permalink
v2.1.0 for new PWM_manual example, etc.
Browse files Browse the repository at this point in the history
### Releases v2.1.0

1. Add example [PWM_manual](https://github.com/khoih-prog/Portenta_H7_PWM/tree/main/examples/PWM_manual) to demo how to correctly use PWM to generate waveform. Check [About DCValue in setPWM_manual #2](khoih-prog/AVR_PWM#2)
2. Add function `setPWM_DCPercentage_manual()` to facilitate the setting PWM DC manually by using `DCPercentage`
3. Optimize for PWM speed when changing `dutycycle` while using same `frequency`
  • Loading branch information
khoih-prog authored Jan 26, 2023
1 parent fe276e7 commit 58b0fae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* [Usage](#usage)
* [1. Prepare PWM settings](#1-Prepare-PWM-settings)
* [2. Set PWM Frequency and dutycycle](#2-Set-PWM-Frequency-and-dutycycle)
* [3. Set or change PWM frequency and dutyCycle manually and efficiently in waveform creation](#3-Set-or-change-PWM-frequency-and-dutyCycle-manually-and-efficiently-in-waveform-creation)
* [Examples](#examples)
* [ 1. PWM_Multi](examples/PWM_Multi)
* [ 2. PWM_Single](examples/PWM_Single)
Expand Down Expand Up @@ -651,12 +652,17 @@ Submit issues to: [Portenta_H7_PWM issues](https://github.com/khoih-prog/Portent

## DONE

1. Basic hardware multi-channel PWM for **Portenta_H7**.
2. Add Table of Contents
3. Rewrite the library to fix bug and to permit to start, stop, modify, restore PWM settings on-the-fly
4. Optimize library code by using `reference-passing` instead of `value-passing`
5. Convert to `h-only` style
6. Add example [PWM_StepperControl](https://github.com/khoih-prog/Portenta_H7_PWM/examples/PWM_StepperControl) to demo how to control Stepper Motor using PWM
1. Basic hardware multi-channel PWM for **Portenta_H7**.
2. Add Table of Contents
3. Rewrite the library to fix bug and to permit to start, stop, modify, restore PWM settings on-the-fly
4. Optimize library code by using `reference-passing` instead of `value-passing`
5. Convert to `h-only` style
6. Add example [PWM_StepperControl](https://github.com/khoih-prog/Portenta_H7_PWM/examples/PWM_StepperControl) to demo how to control Stepper Motor using PWM
7. Add example [PWM_manual](https://github.com/khoih-prog/Portenta_H7_PWM/tree/main/examples/PWM_manual) to demo how to correctly use PWM to generate waveform
8. Add function `setPWM_DCPercentage_manual()` to facilitate the setting PWM DC manually by using `DCPercentage`
9. Optimize for PWM speed when changing `dutycycle` while using same `frequency`



---
---
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Releases v2.1.0](#Releases-v210)
* [Releases v2.0.3](#Releases-v203)
* [Releases v2.0.2](#Releases-v202)
* [Releases v2.0.1](#Releases-v201)
Expand Down

0 comments on commit 58b0fae

Please sign in to comment.