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

Commit 43ba43b

Browse files
authored
Add note about using analogWrite()
1 parent 829b21e commit 43ba43b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
5959
---
6060

6161
## Prerequisite
62+
6263
1. [`Arduino IDE 1.8.13+`](https://www.arduino.cc/en/Main/Software)
6364
2. [`ESP8266 core 2.7.4+`](https://github.com/esp8266/Arduino#installing-with-boards-manager) for ESP8266 boards.
6465

@@ -119,22 +120,22 @@ You'll see blynkTimer Software is blocked while system is connecting to WiFi / I
119120

120121
### HOWTO Use PWM analogWrite() with ESP8266 running Timer1 Interrupt
121122

122-
Please have a look at [**ESP8266TimerInterrupt Issue 8: ESP8266Timer and PWM --> wdt reset*](https://github.com/khoih-prog/ESP8266TimerInterrupt/issues/8) to have more detailed description and solution of the issue.
123+
Please have a look at [ESP8266TimerInterrupt Issue 8: **ESP8266Timer and PWM --> wdt reset**](https://github.com/khoih-prog/ESP8266TimerInterrupt/issues/8) to have more detailed description and solution of the issue.
123124

124125
#### 1. ESP8266 has only 2 hardware timers, named Timer0 and Timer1
125126

126127
#### 2. ESP8266 hardware timers' functions
127128

128-
- Timer0 has been used for WiFi and it's not advisable to use while using WiFi (if not, why select ESP8266 ??)
129-
- Timer1 is used by this [**ESP8266TimerInterrupt Library*](https://github.com/khoih-prog/ESP8266TimerInterrupt)
129+
- Timer0 has been used for WiFi and it's not advisable to use while using WiFi (if not using WiFi, why select ESP8266 ??)
130+
- Timer1 is used by this [**ESP8266TimerInterrupt Library**](https://github.com/khoih-prog/ESP8266TimerInterrupt)
130131

131132
#### 3. How to use PWM analogWrite() functions while using this library
132133

133-
1. If possible, use software timer instead of [**ESP8266TimerInterrupt Hardware Timer1*](https://github.com/khoih-prog/ESP8266TimerInterrupt)
134-
2. If using [**ESP8266TimerInterrupt Hardware Timer1*](https://github.com/khoih-prog/ESP8266TimerInterrupt) is a must, you can
134+
1. If possible, use software timer instead of [**ESP8266TimerInterrupt Hardware Timer1**](https://github.com/khoih-prog/ESP8266TimerInterrupt)
135+
2. If using [**ESP8266TimerInterrupt Hardware Timer1**](https://github.com/khoih-prog/ESP8266TimerInterrupt) is a must, you can either
135136

136-
- Using external DAC such as AD5662, AD5667, AD5696.
137-
- using software PWM such as mentioned in [**ESP8266 PWM REVISITED (AND REIMPLEMENTED)**](https://lurchi.wordpress.com/2016/06/29/esp8266-pwm-revisited-and-reimplemented/)
137+
- use external DAC such as AD5662, AD5667, AD5696.
138+
- use software PWM such as mentioned in [**ESP8266 PWM REVISITED (AND REIMPLEMENTED)**](https://lurchi.wordpress.com/2016/06/29/esp8266-pwm-revisited-and-reimplemented/)
138139

139140
---
140141
---
@@ -310,7 +311,7 @@ Submit issues to: [ESP8266TimerInterrupt issues](https://github.com/khoih-prog/E
310311
## TO DO
311312
312313
1. Search for bug and improvement.
313-
2. Similar features for remaining Arduino boards suh as SAMD21, SAMD51, SAM-DUE, nRF52
314+
2. Similar features for remaining Arduino boards such as SAMD21, SAMD51, SAM-DUE, nRF52
314315
315316
## DONE
316317
@@ -320,7 +321,7 @@ Submit issues to: [ESP8266TimerInterrupt issues](https://github.com/khoih-prog/E
320321
321322
### Contributions and thanks
322323
323-
1. Thanks to [Holger Lembke](https://github.com/holgerlembke) to report [**ESP8266TimerInterrupt Issue 8: ESP8266Timer and PWM --> wdt reset*](https://github.com/khoih-prog/ESP8266TimerInterrupt/issues/8), leading to the [HOWTO Use PWM analogWrite() with ESP8266 running Timer1 Interrupt](https://github.com/khoih-prog/ESP8266TimerInterrupt#howto-use-pwm-analogwrite-with-esp8266-running-timer1-interrupt) notes.
324+
1. Thanks to [Holger Lembke](https://github.com/holgerlembke) to report [ESP8266TimerInterrupt Issue 8: **ESP8266Timer and PWM --> wdt reset**](https://github.com/khoih-prog/ESP8266TimerInterrupt/issues/8), leading to the [HOWTO Use PWM analogWrite() with ESP8266 running Timer1 Interrupt](https://github.com/khoih-prog/ESP8266TimerInterrupt#howto-use-pwm-analogwrite-with-esp8266-running-timer1-interrupt) notes.
324325
325326
326327
<table>

0 commit comments

Comments
 (0)