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

Commit 7ae4e47

Browse files
authored
v1.2.1 to fix bug
### Releases v1.2.1 1. Fix bug
1 parent b690659 commit 7ae4e47

File tree

9 files changed

+33
-15
lines changed

9 files changed

+33
-15
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
## Table of Contents
1616

17+
* [Important Change from v1.2.0](#Important-Change-from-v120)
1718
* [Why do we need this ESP32_ISR_Servo library](#why-do-we-need-this-esp32_isr_servo-library)
1819
* [Features](#features)
1920
* [Important Notes about using ISR](#important-notes-about-using-isr)
@@ -24,6 +25,7 @@
2425
* [Use Arduino Library Manager](#use-arduino-library-manager)
2526
* [Manual Install](#manual-install)
2627
* [VS Code & PlatformIO](#vs-code--platformio)
28+
* [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
2729
* [HOWTO Use analogRead() with ESP32 running WiFi and/or BlueTooth (BT/BLE)](#howto-use-analogread-with-esp32-running-wifi-andor-bluetooth-btble)
2830
* [1. ESP32 has 2 ADCs, named ADC1 and ADC2](#1--esp32-has-2-adcs-named-adc1-and-adc2)
2931
* [2. ESP32 ADCs functions](#2-esp32-adcs-functions)
@@ -57,6 +59,12 @@
5759
* [License](#license)
5860
* [Copyright](#copyright)
5961

62+
---
63+
---
64+
65+
### Important Change from v1.2.0
66+
67+
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
6068

6169
---
6270
---
@@ -387,7 +395,7 @@ https://github.com/khoih-prog/ESP32_ISR_Servo/blob/60aa83a0db13a348f29ae84f53616
387395

388396
```
389397
Starting ESP32_MultipleRandomServos on ESP32_DEV
390-
ESP32_ISR_Servo v1.2.0
398+
ESP32_ISR_Servo v1.2.1
391399
Setup OK Servo index = 0
392400
Setup OK Servo index = 1
393401
Setup OK Servo index = 2
@@ -449,7 +457,7 @@ Servos idx = 5, act. pos. (deg) = 180, pulseWidth (us) = 2450
449457

450458
```
451459
Starting ESP32_ISR_MultiServos on ESP32_DEV
452-
ESP32_ISR_Servo v1.2.0
460+
ESP32_ISR_Servo v1.2.1
453461
Setup Servo1 OK
454462
Setup Servo2 OK
455463
Servo1 pos = 0, Servo2 pos = 180
@@ -494,7 +502,7 @@ Servo1 pos = 150, Servo2 pos = 30
494502

495503
```
496504
Starting MultipleRandomServos on ESP32S3_DEV
497-
ESP32_ISR_Servo v1.2.0
505+
ESP32_ISR_Servo v1.2.1
498506
[ISR_SERVO] ESP32_S3_TimerInterrupt: _timerNo = 3 , _fre = 1000000
499507
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
500508
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -588,7 +596,7 @@ Servos idx = 3, act. pos. (deg) = [ISR_SERVO] Idx = 3
588596

589597
```
590598
Starting ESP32_ISR_MultiServos on ESP32S2_DEV
591-
ESP32_ISR_Servo v1.2.0
599+
ESP32_ISR_Servo v1.2.1
592600
[ISR_SERVO] ESP32_S2_TimerInterrupt: _timerNo = 3 , _fre = 1000000
593601
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
594602
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.2.1](#releases-v121)
1516
* [Releases v1.2.0](#releases-v120)
1617
* [Releases v1.1.0](#releases-v110)
1718
* [Releases v1.0.2](#releases-v102)
@@ -22,6 +23,10 @@
2223

2324
## Changelog
2425

26+
### Releases v1.2.1
27+
28+
1. Fix bug
29+
2530
### Releases v1.2.0
2631

2732
1. Add support to new `ESP32-S3` (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.)

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP32_ISR_Servo",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"keywords": "timer, interrupt, isr, hardware, servo, isr-based-servo, servo-control, esp32, esp32-s2, esp32-s3, esp32-c3, mission-critical, precise, non-blocking",
55
"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",
66
"authors":
@@ -12,7 +12,7 @@
1212
"repository":
1313
{
1414
"type": "git",
15-
"url": "//https://github.com/khoih-prog/ESP32_ISR_Servo"
15+
"url": "https://github.com/khoih-prog/ESP32_ISR_Servo"
1616
},
1717
"homepage": "https://github.com/khoih-prog",
1818
"export": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP32_ISR_Servo
2-
version=1.2.0
2+
version=1.2.1
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT

src/ESP32FastTimerInterrupt.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1313
This important feature is absolutely necessary for mission-critical tasks.
1414
15-
Version: 1.2.0
15+
Version: 1.2.1
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -21,6 +21,7 @@
2121
1.0.2 K Hoang 20/12/2019 Add more Blynk examples.Change example names to avoid duplication.
2222
1.1.0 K Hoang 03/01/2021 Fix bug. Add TOC and Version String.
2323
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
24+
1.2.1 K Hoang 07/03/2022 Fix bug
2425
*****************************************************************************************************************************/
2526

2627
#pragma once

src/ESP32_ISR_Servo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.2.0
14+
Version: 1.2.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -20,6 +20,7 @@
2020
1.0.2 K Hoang 20/12/2019 Add more Blynk examples.Change example names to avoid duplication.
2121
1.1.0 K Hoang 03/01/2021 Fix bug. Add TOC and Version String.
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
23+
1.2.1 K Hoang 07/03/2022 Fix bug
2324
*****************************************************************************************************************************/
2425

2526
#pragma once

src/ESP32_ISR_Servo.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.2.0
14+
Version: 1.2.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -20,6 +20,7 @@
2020
1.0.2 K Hoang 20/12/2019 Add more Blynk examples.Change example names to avoid duplication.
2121
1.1.0 K Hoang 03/01/2021 Fix bug. Add TOC and Version String.
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
23+
1.2.1 K Hoang 07/03/2022 Fix bug
2324
*****************************************************************************************************************************/
2425

2526
#pragma once
@@ -43,13 +44,13 @@
4344
#endif
4445

4546
#if !defined(ESP32_ISR_SERVO_VERSION)
46-
#define ESP32_ISR_SERVO_VERSION "ESP32_ISR_Servo v1.2.0"
47+
#define ESP32_ISR_SERVO_VERSION "ESP32_ISR_Servo v1.2.1"
4748

4849
#define ESP32_ISR_SERVO_VERSION_MAJOR 1
4950
#define ESP32_ISR_SERVO_VERSION_MINOR 2
50-
#define ESP32_ISR_SERVO_VERSION_PATCH 0
51+
#define ESP32_ISR_SERVO_VERSION_PATCH 1
5152

52-
#define ESP32_ISR_SERVO_VERSION_INT 1002000
53+
#define ESP32_ISR_SERVO_VERSION_INT 1002001
5354

5455
#endif
5556

src/ESP32_ISR_Servo_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.2.0
14+
Version: 1.2.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -20,6 +20,7 @@
2020
1.0.2 K Hoang 20/12/2019 Add more Blynk examples.Change example names to avoid duplication.
2121
1.1.0 K Hoang 03/01/2021 Fix bug. Add TOC and Version String.
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
23+
1.2.1 K Hoang 07/03/2022 Fix bug
2324
*****************************************************************************************************************************/
2425

2526
#pragma once

src/ESP32_ISR_Servo_Impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.2.0
14+
Version: 1.2.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -20,6 +20,7 @@
2020
1.0.2 K Hoang 20/12/2019 Add more Blynk examples.Change example names to avoid duplication.
2121
1.1.0 K Hoang 03/01/2021 Fix bug. Add TOC and Version String.
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
23+
1.2.1 K Hoang 07/03/2022 Fix bug
2324
*****************************************************************************************************************************/
2425

2526
#include "ESP32_ISR_Servo.h"

0 commit comments

Comments
 (0)