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

Commit 5d86706

Browse files
authored
v1.3.0 to work with ESP32 core v2.0.1+
### Releases v1.3.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 5ab04b3 commit 5d86706

12 files changed

+1383
-306
lines changed

CONTRIBUTING.md

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

33
### Reporting Bugs
44

5-
Please report bugs in ESP32_New_ISR_Servo if you find them.
5+
Please report bugs in ESP32_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_New_ISR_Servo/issues) - someone might have already encountered this.
9+
* [Existing Open Issues](https://github.com/khoih-prog/ESP32_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_New_ISR_Servo/issues/new).
11+
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP32_ISR_Servo/issues/new).
1212

1313
### How to submit a bug report
1414

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

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

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.
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.
5453

5554
### Sending Pull Requests
5655

README.md

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

changelog.md

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

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)
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)
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_New_ISR_Servo.svg)](http://github.com/khoih-prog/ESP32_New_ISR_Servo/issues)
7+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP32_ISR_Servo.svg)](http://github.com/khoih-prog/ESP32_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)
1517
* [Releases v1.2.0](#releases-v120)
1618
* [Releases v1.1.0](#releases-v110)
17-
* [Releases v1.0.0](#releases-v100)
18-
19+
* [Releases v1.0.2](#releases-v102)
20+
* [Releases v1.0.1](#releases-v101)
21+
1922
---
2023
---
2124

2225
## Changelog
2326

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

2629
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
2730

31+
### Releases v1.2.1
2832

29-
### Releases v1.1.0
33+
1. Fix bug
34+
35+
### Releases v1.2.0
3036

3137
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
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
44+
45+
### Releases v1.1.0
46+
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.
3657

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

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)
60+
1. Basic 16 ISR-based servo controllers using 1 hardware timer for ESP32.
4161

4262

keywords.txt

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

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

10-
esp32_timer_callback KEYWORD1
11-
1210
#######################################
1311
# Methods and Functions (KEYWORD2)
1412
#######################################
@@ -42,16 +40,11 @@ ESP32_ISR_Servo_Handler KEYWORD2
4240

4341
ISR_SERVO_DEBUG LITERAL1
4442

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
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
5548

5649
ESP32_MAX_PIN LITERAL1
5750
ESP32_WRONG_PIN LITERAL1
@@ -61,3 +54,4 @@ MAX_PULSE_WIDTH LITERAL1
6154
DEFAULT_PULSE_WIDTH LITERAL1
6255
REFRESH_INTERVAL LITERAL1
6356

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_New_ISR_Servo",
3-
"version": "1.2.0",
2+
"name": "ESP32_ISR_Servo",
3+
"version": "1.3.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, ESP32_S2, ESP32_C3-based board to control up to 16 or more servo motors. Tested OK with ESP32 core v2.0.3",
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",
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_New_ISR_Servo"
15+
"url": "https://github.com/khoih-prog/ESP32_ISR_Servo"
1616
},
17-
"homepage": "https://github.com/khoih-prog/ESP32_New_ISR_Servo",
17+
"homepage": "https://github.com/khoih-prog",
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_New_ISR_Servo.h", "ESP32_New_ISR_Servo.hpp" ]
29+
"headers": [ "ESP32_ISR_Servo.h", "ESP32_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_New_ISR_Servo
2-
version=1.2.0
3-
author=Khoi Hoang <[email protected]>
1+
name=ESP32_ISR_Servo
2+
version=1.3.0
3+
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT
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
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
88
category=Device Control
9-
url=https://github.com/khoih-prog/ESP32_New_ISR_Servo
9+
url=https://github.com/khoih-prog/ESP32_ISR_Servo
1010
architectures=esp32
11-
includes=ESP32_New_ISR_Servo.h, ESP32_New_ISR_Servo.hpp
11+
includes=ESP32_ISR_Servo.h, ESP32_ISR_Servo.hpp

platformio/platformio.ini

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

0 commit comments

Comments
 (0)