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

Commit 301c54e

Browse files
authored
v1.2.0 to work with ESP32 core v2.0.1+
### Releases v1.2.0 1. Fix breaking issue caused by **ESP32 core v2.0.1+** by increasing `TIMER_INTERVAL_MICRO` to `12uS` from `10uS`. Tested OK with ESP32 core v2.0.3 now
1 parent 5d86706 commit 301c54e

File tree

7 files changed

+306
-301
lines changed

7 files changed

+306
-301
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
## Contributing to ESP32_ISR_Servo
1+
## Contributing to ESP32_New_ISR_Servo
22

33
### Reporting Bugs
44

5-
Please report bugs in ESP32_ISR_Servo if you find them.
5+
Please report bugs in ESP32_New_ISR_Servo if you find them.
66

77
However, before reporting a bug please check through the following:
88

9-
* [Existing Open Issues](https://github.com/khoih-prog/ESP32_ISR_Servo/issues) - someone might have already encountered this.
9+
* [Existing Open Issues](https://github.com/khoih-prog/ESP32_New_ISR_Servo/issues) - someone might have already encountered this.
1010

11-
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP32_ISR_Servo/issues/new).
11+
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP32_New_ISR_Servo/issues/new).
1212

1313
### How to submit a bug report
1414

@@ -45,11 +45,12 @@ Steps to reproduce:
4545
3. ...
4646
4. ...
4747
```
48+
4849
### Sending Feature Requests
4950

5051
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.
5152

52-
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/ESP32_ISR_Servo/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
53+
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/ESP32_New_ISR_Servo/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
5354

5455
### Sending Pull Requests
5556

README.md

Lines changed: 256 additions & 239 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,42 @@
1-
# ESP32_ISR_Servo Library
1+
# ESP32_New_ISR_Servo Library
22

3-
[![arduino-library-badge](https://www.ardu-badge.com/badge/ESP32_ISR_Servo.svg?)](https://www.ardu-badge.com/ESP32_ISR_Servo)
4-
[![GitHub release](https://img.shields.io/github/release/khoih-prog/ESP32_ISR_Servo.svg)](https://github.com/khoih-prog/ESP32_ISR_Servo/releases)
5-
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/ESP32_ISR_Servo/blob/master/LICENSE)
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/ESP32_New_ISR_Servo.svg?)](https://www.ardu-badge.com/ESP32_New_ISR_Servo)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/ESP32_New_ISR_Servo.svg)](https://github.com/khoih-prog/ESP32_New_ISR_Servo/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/ESP32_New_ISR_Servo/blob/main/LICENSE)
66
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
7-
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP32_ISR_Servo.svg)](http://github.com/khoih-prog/ESP32_ISR_Servo/issues)
7+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP32_New_ISR_Servo.svg)](http://github.com/khoih-prog/ESP32_New_ISR_Servo/issues)
88

99
---
1010
---
1111

1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15-
* [Releases v1.3.0](#releases-v130)
16-
* [Releases v1.2.1](#releases-v121)
1715
* [Releases v1.2.0](#releases-v120)
1816
* [Releases v1.1.0](#releases-v110)
19-
* [Releases v1.0.2](#releases-v102)
20-
* [Releases v1.0.1](#releases-v101)
21-
17+
* [Releases v1.0.0](#releases-v100)
18+
2219
---
2320
---
2421

2522
## Changelog
2623

27-
### Releases v1.3.0
24+
### Releases v1.2.0
2825

2926
1. Fix breaking issue caused by **ESP32 core v2.0.1+** by increasing `TIMER_INTERVAL_MICRO` to `12uS` from `10uS`. Tested OK with ESP32 core v2.0.3 now
3027

31-
### Releases v1.2.1
32-
33-
1. Fix bug
34-
35-
### Releases v1.2.0
36-
37-
1. Add support to new `ESP32-S3` (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.)
38-
2. Add support to new `ESP32-S2` (ESP32S2_DEV, etc.)
39-
3. Add support to new `ESP32-C3` (ESP32C3_DEV, etc.)
40-
4. Convert to h-only library.
41-
5. Optimize library code by using `reference-passing` instead of `value-passing`
42-
6. Improve accuracy by using `float`, instead of `uint32_t` for `position` in degrees
43-
7. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
4428

4529
### Releases v1.1.0
4630

47-
1. Fix bug. See [Fixed count >= min comparison for servo enable](https://github.com/khoih-prog/ESP32_ISR_Servo/pull/1)
48-
2. Clean-up all compiler warnings possible.
49-
3. Add Table of Contents
50-
4. Add Version String
51-
5. Fix and Optimize old examples
52-
53-
#### Releases v1.0.2
54-
55-
1. Add example using [Blynk](http://docs.blynk.cc/) to control servos.
56-
2. Change example names to avoid duplication.
31+
1. Add support to new `ESP32-S3` (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.)
32+
2. Convert to h-only library.
33+
3. Optimize library code by using `reference-passing` instead of `value-passing`
34+
4. Improve accuracy by using `float`, instead of `uint32_t` for `position` in degrees
35+
5. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
5736

58-
#### Releases v1.0.1
37+
### Releases v1.0.0
5938

60-
1. Basic 16 ISR-based servo controllers using 1 hardware timer for ESP32.
39+
1. Basic 16 ISR-based servo controllers using 1 hardware timer for ESP32, ESP32_S2, ESP32_C3-based board
40+
2. Tested with [ESP32 core v2.0.0-rc1+](https://github.com/espressif/arduino-esp32/releases/tag/2.0.0-rc1)
6141

6242

keywords.txt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
ESP32_ISR_Servo KEYWORD1
66
ESP32_ISR_Servos KEYWORD1
7-
ESP32TimerInterrupt KEYWORD1
7+
ESP32FastTimerInterrupt KEYWORD1
88
ESP32FastTimer KEYWORD1
99

10+
esp32_timer_callback KEYWORD1
11+
1012
#######################################
1113
# Methods and Functions (KEYWORD2)
1214
#######################################
@@ -40,11 +42,16 @@ ESP32_ISR_Servo_Handler KEYWORD2
4042

4143
ISR_SERVO_DEBUG LITERAL1
4244

43-
ESP32_ISR_SERVO_VERSION LITERAL1
44-
ESP32_ISR_SERVO_VERSION_MAJOR LITERAL1
45-
ESP32_ISR_SERVO_VERSION_MINOR LITERAL1
46-
ESP32_ISR_SERVO_VERSION_PATCH LITERAL1
47-
ESP32_ISR_SERVO_VERSION_INT LITERAL1
45+
ESP32_NEW_ISR_SERVO_VERSION LITERAL1
46+
ESP32_NEW_ISR_SERVO_VERSION_MAJOR LITERAL1
47+
ESP32_NEW_ISR_SERVO_VERSION_MINOR LITERAL1
48+
ESP32_NEW_ISR_SERVO_VERSION_PATCH LITERAL1
49+
ESP32_NEW_ISR_SERVO_VERSION_INT LITERAL1
50+
51+
USING_ESP32_ISR_SERVO LITERAL1
52+
USING_ESP32_S2_ISR_SERVO LITERAL1
53+
USING_ESP32_S3_ISR_SERVO LITERAL1
54+
USING_ESP32_C3_ISR_SERVO LITERAL1
4855

4956
ESP32_MAX_PIN LITERAL1
5057
ESP32_WRONG_PIN LITERAL1
@@ -54,4 +61,3 @@ MAX_PULSE_WIDTH LITERAL1
5461
DEFAULT_PULSE_WIDTH LITERAL1
5562
REFRESH_INTERVAL LITERAL1
5663

57-

library.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "ESP32_ISR_Servo",
3-
"version": "1.3.0",
2+
"name": "ESP32_New_ISR_Servo",
3+
"version": "1.2.0",
44
"keywords": "timer, interrupt, isr, hardware, servo, isr-based-servo, servo-control, esp32, esp32-s2, esp32-s3, esp32-c3, mission-critical, precise, non-blocking",
5-
"description": "This library enables you to use 1 Hardware Timer on an ESP32-based board to control up to 16 or more servo motors. Now supporting ESP32, ESP32_S2, ESP32_S3, ESP32_C3-based boards. Tested OK with ESP32 core v2.0.3",
5+
"description": "This library enables you to use 1 Hardware Timer on an ESP32, ESP32_S2, ESP32_C3-based board to control up to 16 or more servo motors. Tested OK with ESP32 core v2.0.3",
66
"authors":
77
{
88
"name": "Khoi Hoang",
@@ -12,19 +12,19 @@
1212
"repository":
1313
{
1414
"type": "git",
15-
"url": "https://github.com/khoih-prog/ESP32_ISR_Servo"
15+
"url": "https://github.com/khoih-prog/ESP32_New_ISR_Servo"
1616
},
17-
"homepage": "https://github.com/khoih-prog",
17+
"homepage": "https://github.com/khoih-prog/ESP32_New_ISR_Servo",
1818
"export": {
1919
"exclude": [
2020
"linux",
2121
"extras",
2222
"tests"
2323
]
24-
},
24+
},
2525
"license": "MIT",
2626
"frameworks": "*",
2727
"platforms": "espressif32",
2828
"examples": "examples/*/*/*.ino",
29-
"headers": [ "ESP32_ISR_Servo.h", "ESP32_ISR_Servo.hpp" ]
29+
"headers": [ "ESP32_New_ISR_Servo.h", "ESP32_New_ISR_Servo.hpp" ]
3030
}

library.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name=ESP32_ISR_Servo
2-
version=1.3.0
3-
author=Khoi Hoang
1+
name=ESP32_New_ISR_Servo
2+
version=1.2.0
3+
author=Khoi Hoang <[email protected]>
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT
6-
sentence=This library enables you to use Interrupt from Hardware Timers on an ESP32 board to control multiple servo motors.
7-
paragraph=This library enables you to use 1 Hardware Timer on an ESP32-based board to control 16 or more servo motors. Now supporting ESP32, ESP32_S2, ESP32_S3, ESP32_C3-based boards. Tested OK with ESP32 core v2.0.3
6+
sentence=This library enables you to use Interrupt from Hardware Timers on ESP32, ESP32_S2, ESP32_S3, ESP32_C3 boards to control multiple servo motors.
7+
paragraph=This library enables you to use 1 Hardware Timer on ESP32, ESP32_S2, ESP32_S3, ESP32_C3-based boards to control 16 or more servo motors. Tested OK with ESP32 core v2.0.3
88
category=Device Control
9-
url=https://github.com/khoih-prog/ESP32_ISR_Servo
9+
url=https://github.com/khoih-prog/ESP32_New_ISR_Servo
1010
architectures=esp32
11-
includes=ESP32_ISR_Servo.h, ESP32_ISR_Servo.hpp
11+
includes=ESP32_New_ISR_Servo.h, ESP32_New_ISR_Servo.hpp

platformio/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,4 @@ build_unflags =
149149
build_flags =
150150
-DARDUINO_ESP32S3_DEV
151151
-DARDUINO_VARIANT="esp32c3"
152+

0 commit comments

Comments
 (0)