You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
### Releases v1.1.0
1. Convert to `h-only` style
2. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
3. Fix `setPulseWidth()` bug. Check [setPulseWidth - removed wrong map #2](#2)
4. Optimize code by using passing by `reference` instead of by `value`
Please have a look at [HOWTO Fix `Multiple Definitions` Linker Error](#howto-fix-multiple-definitions-linker-error)
57
+
58
+
48
59
---
49
60
---
50
61
@@ -92,7 +103,7 @@ This library enables you to use `1 Hardware Timer` on an RP2040-based board to c
92
103
93
104
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
94
105
2.[`Arduino mbed_rp2040 core 2.7.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
95
-
3.[`Earle Philhower's arduino-pico core v1.10.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
106
+
3.[`Earle Philhower's arduino-pico core v1.12.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [](https://github.com/earlephilhower/arduino-pico/releases/latest)
96
107
97
108
---
98
109
@@ -116,9 +127,35 @@ Another way to install is to:
3. Install [**RP2040_ISR_Servo** library](https://platformio.org/lib/show/12713/RP2040_ISR_Servo) by using [Library Manager](https://platformio.org/lib/show/12713/RP2040_ISR_Servo/installation). Search for **RP2040_ISR_Servo** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
130
+
3. Install [**RP2040_ISR_Servo** library](https://registry.platformio.org/libraries/khoih-prog/RP2040_ISR_Servo) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/RP2040_ISR_Servo/installation). Search for **RP2040_ISR_Servo** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
120
131
4. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
121
132
133
+
---
134
+
---
135
+
136
+
### HOWTO Fix `Multiple Definitions` Linker Error
137
+
138
+
The current library implementation, using `xyz-Impl.h` instead of standard `xyz.cpp`, possibly creates certain `Multiple Definitions` Linker error in certain use cases.
139
+
140
+
You can include this `.hpp` file
141
+
142
+
```
143
+
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error
in many files. But be sure to use the following `.h` file **in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
148
+
149
+
```
150
+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
Check the new [**multiFileProject** example](examples/multiFileProject) for a `HOWTO` demo.
155
+
156
+
Have a look at the discussion in [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80)
Starting RP2040_MultipleServos on RASPBERRY_PI_PICO
522
-
RP2040_ISR_Servo v1.0.1
455
+
RP2040_ISR_Servo v1.1.0
523
456
Setup OK Servo index = 0
524
457
Setup OK Servo index = 1
525
458
Setup OK Servo index = 2
@@ -573,6 +506,9 @@ Submit issues to: [RP2040_ISR_Servo issues](https://github.com/khoih-prog/RP2040
573
506
2. Add functions `getPosition()` and `getPulseWidth()`
574
507
3. Optimize the code
575
508
4. Add complicated examples
509
+
5. Convert to `h-only` style
510
+
6. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
511
+
7. Optimize code by using passing by `reference` instead of by `value
576
512
577
513
---
578
514
---
@@ -581,6 +517,13 @@ Submit issues to: [RP2040_ISR_Servo issues](https://github.com/khoih-prog/RP2040
581
517
582
518
Many thanks for everyone for bug reporting, new feature suggesting, testing and contributing to the development of this library. Especially to these people who have directly or indirectly contributed to this [RP2040_ISR_Servo library](https://github.com/khoih-prog/RP2040_ISR_Servo)
583
519
520
+
1. Thanks to [Radek Voltr](https://github.com/RadekVoltr) for the PR [**setPulseWidth - removed wrong map**#2](https://github.com/khoih-prog/RP2040_ISR_Servo/pull/2), leading to new version v1.1.0
"description": "This library enables you to use 1 Hardware Timer on RP2040-based board, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, to control up to 16 or more servo motors.",
sentence=This library enables you to use Interrupt from Hardware Timers on RP2040 board to control multiple servo motors.
7
7
paragraph=This library enables you to use 1 Hardware Timer on RP2040-based board, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, to control up to 16 or more servo motors.
0 commit comments