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.2.2
1. Add support to Seeeduino nRF52840-based boards such as **Seeed_XIAO_NRF52840 and Seeed_XIAO_NRF52840_SENSE**, etc. using Seeeduino `nRF52` core
2. Add astyle using `allman` style. Restyle the library
3. Update all examples
4. Update `Packages' Patches` to add Seeeduino `nRF52` core
Copy file name to clipboardExpand all lines: README.md
+50-25Lines changed: 50 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ As more complex calculation and check **inside ISR** are introduced from v1.2.0,
69
69
You can modify to use larger `HW_TIMER_INTERVAL_US`, (from current 10uS), according to your board and use-case if crash happens.
70
70
71
71
72
-
```
72
+
```cpp
73
73
// Don't change these numbers to make higher Timer freq. System can hang
74
74
#defineHW_TIMER_INTERVAL_US 10L
75
75
```
@@ -126,8 +126,9 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
126
126
127
127
### Currently supported Boards
128
128
129
-
1.**nRF52-based boards** such as **AdaFruit Itsy-Bitsy nRF52840, Feather nRF52840 Express**, etc., using [`Adafruit nRF52 core`](https://github.com/adafruit/Adafruit_nRF52_Arduino)
3.**Seeeduino nRF52840-based boards such as SEEED_XIAO_NRF52840 and SEEED_XIAO_NRF52840_SENSE**, etc. using Seeeduino `nRF%2` core
131
132
132
133
---
133
134
@@ -144,8 +145,9 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
144
145
145
146
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
146
147
2.[`Adafruit nRF52 v1.3.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
148
+
3.[`Seeeduino nRF52 core 1.0.0+`](https://github.com/Seeed-Studio/Adafruit_nRF52_Arduino) for Seeeduino nRF52840-based boards such as **Seeed_XIAO_NRF52840 and Seeed_XIAO_NRF52840_SENSE**. [](https://github.com/Seeed-Studio/Adafruit_nRF52_Arduino/releases/latest)
147
149
148
-
3. To use with certain example
150
+
4. To use with certain example
149
151
-[`SimpleTimer library`](https://github.com/jfturcot/SimpleTimer) for [ISR_16_PWMs_Array_Complex example](examples/ISR_16_PWMs_Array_Complex).
150
152
151
153
@@ -164,9 +166,9 @@ You can also use this link [ page.
167
-
2. Download the latest release `nRF52_Slow_PWM-master.zip`.
168
-
3. Extract the zip file to `nRF52_Slow_PWM-master` directory
169
-
4. Copy whole `nRF52_Slow_PWM-master` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
169
+
2. Download the latest release `nRF52_Slow_PWM-main.zip`.
170
+
3. Extract the zip file to `nRF52_Slow_PWM-main` directory
171
+
4. Copy whole `nRF52_Slow_PWM-main` folder to Arduino libraries' directory such as `~/Arduino/libraries/`.
170
172
171
173
### VS Code & PlatformIO
172
174
@@ -205,6 +207,26 @@ These files must be copied into the directory:
**To be able to compile and run on Xiao nRF52840 boards**, you have to copy the whole [nRF52 1.0.0](Packages_Patches/Seeeduino/hardware/nrf52/1.0.0) directory into Seeeduino nRF52 directory (~/.arduino15/packages/Seeeduino/hardware/nrf52/1.0.0).
215
+
216
+
Supposing the Seeeduino nRF52 version is 1.0.0. These files must be copied into the directory:
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
227
249
228
-
```
250
+
```cpp
229
251
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
0 commit comments