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

Commit bc2dcca

Browse files
authored
v1.4.0 to suppress errors and warnings
### Releases v1.4.0 1. Suppress errors and warnings for new ESP32 core v2.0.4+
1 parent f85c836 commit bc2dcca

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ This [**ESP32_ISR_Servo** library](https://github.com/khoih-prog/ESP32_ISR_Servo
121121
## Prerequisites
122122

123123
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)
124-
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/)
124+
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/)
125125

126126
---
127127
---
@@ -277,7 +277,10 @@ How to use:
277277
#include "ESP32_ISR_Servo.h"
278278
279279
//See file .../hardware/espressif/esp32/variants/(esp32|doitESP32devkitV1)/pins_arduino.h
280-
#define LED_BUILTIN 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
280+
#if !defined(LED_BUILTIN)
281+
#define LED_BUILTIN 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
282+
#endif
283+
281284
#define PIN_LED 2 // Pin D2 mapped to pin GPIO2/ADC12 of ESP32, control on-board LED
282285
283286
#define PIN_D0 0 // Pin D0 mapped to pin GPIO0/BOOT/ADC11/TOUCH1 of ESP32
@@ -389,7 +392,7 @@ void loop()
389392

390393
### Example [ESP32_ISR_MultiServos](examples/ESP32_ISR_MultiServos)
391394

392-
https://github.com/khoih-prog/ESP32_ISR_Servo/blob/60aa83a0db13a348f29ae84f5361676d000fbb72/examples/ESP32_ISR_MultiServos/ESP32_ISR_MultiServos.ino#L72-L208
395+
https://github.com/khoih-prog/ESP32_ISR_Servo/blob/f85c83625eaefcc27d89511e2d8bafbefcbd6291/examples/ESP32_ISR_MultiServos/ESP32_ISR_MultiServos.ino#L72-L211
393396

394397
---
395398
---
@@ -400,7 +403,7 @@ https://github.com/khoih-prog/ESP32_ISR_Servo/blob/60aa83a0db13a348f29ae84f53616
400403

401404
```
402405
Starting ESP32_MultipleRandomServos on ESP32_DEV
403-
ESP32_ISR_Servo v1.3.1
406+
ESP32_ISR_Servo v1.4.0
404407
Setup OK Servo index = 0
405408
Setup OK Servo index = 1
406409
Setup OK Servo index = 2
@@ -462,7 +465,7 @@ Servos idx = 5, act. pos. (deg) = 180, pulseWidth (us) = 2450
462465

463466
```
464467
Starting ESP32_ISR_MultiServos on ESP32_DEV
465-
ESP32_ISR_Servo v1.3.1
468+
ESP32_ISR_Servo v1.4.0
466469
Setup Servo1 OK
467470
Setup Servo2 OK
468471
Servo1 pos = 0, Servo2 pos = 180
@@ -507,7 +510,7 @@ Servo1 pos = 150, Servo2 pos = 30
507510

508511
```
509512
Starting MultipleRandomServos on ESP32S3_DEV
510-
ESP32_ISR_Servo v1.3.1
513+
ESP32_ISR_Servo v1.4.0
511514
[ISR_SERVO] ESP32_S3_TimerInterrupt: _timerNo = 3 , _fre = 1000000
512515
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
513516
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -601,7 +604,7 @@ Servos idx = 3, act. pos. (deg) = [ISR_SERVO] Idx = 3
601604

602605
```
603606
Starting ESP32_ISR_MultiServos on ESP32S2_DEV
604-
ESP32_ISR_Servo v1.3.1
607+
ESP32_ISR_Servo v1.4.0
605608
[ISR_SERVO] ESP32_S2_TimerInterrupt: _timerNo = 3 , _fre = 1000000
606609
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
607610
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -687,6 +690,8 @@ Submit issues to: [ESP32_ISR_Servo issues](https://github.com/khoih-prog/ESP32_I
687690
10. Improve accuracy by using `float`, instead of `uint32_t` for `position` in degrees
688691
11. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
689692
12. Fix breaking issue caused by **ESP32 core v2.0.1+** by increasing `TIMER_INTERVAL_MICRO` to `12uS` from `10uS`
693+
13. Suppress errors and warnings for new ESP32 core v2.0.4
694+
690695

691696
---
692697
---

0 commit comments

Comments
 (0)