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

Commit 89977bf

Browse files
authored
v1.3.0 to suppress errors and warnings
### Releases v1.3.0 1. Suppress errors and warnings for new ESP32 core v2.0.4+
1 parent 463c03c commit 89977bf

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This [**ESP32_New_ISR_Servo** library](https://github.com/khoih-prog/ESP32_New_I
123123
## Prerequisites
124124

125125
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
126-
2. [`ESP32 Core 2.0.3+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
126+
2. [`ESP32 Core 2.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
127127

128128

129129
---
@@ -294,7 +294,10 @@ How to use:
294294
#include "ESP32_New_ISR_Servo.h"
295295
296296
//See file .../hardware/espressif/esp32/variants/(esp32|doitESP32devkitV1)/pins_arduino.h
297-
#define LED_BUILTIN 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
297+
#if !defined(LED_BUILTIN)
298+
#define LED_BUILTIN 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
299+
#endif
300+
298301
#define PIN_LED 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
299302
300303
#define PIN_D0 0 // Pin D0 mapped to pin GPIO0/BOOT/ADC11/TOUCH1 of ESP32
@@ -409,7 +412,7 @@ void loop()
409412

410413
#### 1. File [ESP32_New_ISR_MultiServos.ino](examples/ESP32_New_ISR_MultiServos/ESP32_New_ISR_MultiServos.ino)
411414

412-
https://github.com/khoih-prog/ESP32_New_ISR_Servo/blob/e05bb5d4fc2abf2bd5551388f64414626047d90b/examples/ESP32_New_ISR_MultiServos/ESP32_New_ISR_MultiServos.ino#L65-L174
415+
https://github.com/khoih-prog/ESP32_New_ISR_Servo/blob/463c03c67432e83a12ce23f45cffcc6d90474523/examples/ESP32_New_ISR_MultiServos/ESP32_New_ISR_MultiServos.ino#L65-L177
413416

414417
---
415418
---
@@ -420,7 +423,7 @@ https://github.com/khoih-prog/ESP32_New_ISR_Servo/blob/e05bb5d4fc2abf2bd5551388f
420423

421424
```
422425
Starting ESP32_New_MultipleRandomServos on ESP32S2_DEV
423-
ESP32_New_ISR_Servo v1.2.1
426+
ESP32_New_ISR_Servo v1.3.0
424427
[ISR_SERVO] ESP32_S2_TimerInterrupt: _timerNo = 3 , _fre = 1000000
425428
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
426429
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -536,7 +539,7 @@ Servos sweeps from 0-180 degress
536539

537540
```
538541
Starting ESP32_New_ISR_MultiServos on ESP32S2_DEV
539-
ESP32_New_ISR_Servo v1.2.1
542+
ESP32_New_ISR_Servo v1.3.0
540543
[ISR_SERVO] ESP32_S2_TimerInterrupt: _timerNo = 3 , _fre = 1000000
541544
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
542545
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -561,7 +564,7 @@ Servo1 pos = 180, Servo2 pos = 0
561564

562565
```
563566
Starting ESP32_New_MultipleRandomServos on ESP32S3_DEV
564-
ESP32_New_ISR_Servo v1.2.1
567+
ESP32_New_ISR_Servo v1.3.0
565568
[ISR_SERVO] ESP32_S3_TimerInterrupt: _timerNo = 3 , _fre = 1000000
566569
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
567570
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -619,7 +622,7 @@ Servos idx = 0, act. pos. (deg) = [ISR_SERVO] Idx = 0
619622

620623
```
621624
Starting ESP32_New_ISR_MultiServos on ESP32S3_DEV
622-
ESP32_New_ISR_Servo v1.2.1
625+
ESP32_New_ISR_Servo v1.3.0
623626
[ISR_SERVO] ESP32_S3_TimerInterrupt: _timerNo = 3 , _fre = 1000000
624627
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
625628
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -710,6 +713,7 @@ Submit issues to: [ESP32_New_ISR_Servo issues](https://github.com/khoih-prog/ESP
710713
8. Improve accuracy by using `float`, instead of `uint32_t` for `position` in degrees
711714
9. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
712715
10. Fix breaking issue caused by **ESP32 core v2.0.1+** by increasing `TIMER_INTERVAL_MICRO` to `12uS` from `10uS`
716+
10. Suppress errors and warnings for new ESP32 core v2.0.4
713717

714718

715719
---

0 commit comments

Comments
 (0)