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

Commit 9a12e8f

Browse files
authored
v1.2.2 to replace double with float
### Releases v1.2.2 1. Use `float` for `DutyCycle` and `Freq`, `uint32_t` for `period`. 2. Optimize code by not calculation in ISR
1 parent 305f829 commit 9a12e8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/multiFileProject/multiFileProject.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#error This code is designed to run on ESP32 platform, not Arduino nor ESP8266! Please check your Tools->Board setting.
1515
#endif
1616

17-
#define ESP32_PWM_VERSION_MIN_TARGET "ESP32_PWM v1.2.0"
18-
#define ESP32_PWM_VERSION_MIN 1002000
17+
#define ESP32_PWM_VERSION_MIN_TARGET "ESP32_PWM v1.2.2"
18+
#define ESP32_PWM_VERSION_MIN 1002002
1919

2020
// These define's must be placed at the beginning before #include "ESP32_PWM.h"
2121
// _PWM_LOGLEVEL_ from 0 to 4

0 commit comments

Comments
 (0)