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

Commit

Permalink
v1.1.0 to modify PWM settings on-the-fly
Browse files Browse the repository at this point in the history
### Releases v1.1.0

1. Add functions to modify PWM settings on-the-fly
2. Fix bug
3. Add example to demo how to modify PWM settings on-the-fly
  • Loading branch information
khoih-prog authored Nov 7, 2021
1 parent b7e3fa4 commit 6d67f0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

### Why do we need this [ESP32_PWM library](https://github.com/khoih-prog/ESP32_PWM)

#### Important notes
### Important notes

**Don't use ESP32 Core v2.0.1 RC1 yet** as it introduces new breaking features compared to v2.0.0 and will crash these examples

Expand All @@ -69,7 +69,7 @@
* [ 3. ISR_16_PWMs_Array_Simple](examples/ISR_16_PWMs_Array_Simple)


## Features
### Features

This library enables you to use Interrupt from Hardware Timers on an ESP32, ESP32_S2-based board to create and output PWM to pins. Becayse this library doesn't use the powerful hardware-controlled PWM with limitations, the maximum PWM frequency is currently limited at **500Hz**, which is suitable for many real-life applications. Now you can also modify PWM settings on-the-fly.

Expand Down
3 changes: 2 additions & 1 deletion src_cpp/ESP32_PWM_ISR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.1
Version: 1.1.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 20/09/2021 Initial coding for ESP32, ESP32_S2, ESP32_C3 boards with ESP32 core v2.0.0+
1.0.1 K Hoang 21/09/2021 Fix bug. Ading PWM end-of-duty-cycle callback function. Improve examples
1.1.0 K Hoang 06/11/2021 Add functions to modify PWM settings on-the-fly
*****************************************************************************************************************************/

#include "ESP32_PWM_ISR.h"
Expand Down
3 changes: 2 additions & 1 deletion src_cpp/ESP32_PWM_ISR.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.1
Version: 1.1.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 20/09/2021 Initial coding for ESP32, ESP32_S2, ESP32_C3 boards with ESP32 core v2.0.0+
1.0.1 K Hoang 21/09/2021 Fix bug. Ading PWM end-of-duty-cycle callback function. Improve examples
1.1.0 K Hoang 06/11/2021 Add functions to modify PWM settings on-the-fly
*****************************************************************************************************************************/

#pragma once
Expand Down

0 comments on commit 6d67f0e

Please sign in to comment.