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

Commit aa5e334

Browse files
authored
Update README.md
1 parent 9904126 commit aa5e334

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# ESP8266_ISR_Servo Library
22

3-
This library enables you to use 1 Hardware Timer on an ESP8266-based board to control up to 16 servo motors.
3+
This library enables you to use `1 Hardware Timer` on an ESP8266-based board to control up to `16 independent servo motors`.
44

55
***Why do we need this ISR-based Servo controller?***
66

7-
Imagine you have a system with a mission-critical function, controlling a robot arm or doing something much more important. You normally use a software timer to poll, or even place the function in loop(). But what if another function is blocking the loop() or setup().
7+
Imagine you have a system with a `mission-critical function`, controlling a `robot arm` or doing something much more important. You normally use a software timer to poll, or even place the function in loop(). But what if another function is blocking the loop() or setup().
88

99
So your function might not be executed, and the result would be disastrous.
1010

@@ -16,14 +16,14 @@ These hardware timers, using interrupt, still work even if other functions are b
1616

1717
Functions using normal software timers, relying on loop() and calling millis(), won't work if the loop() or setup() is blocked by certain operation. For example, certain function is blocking while it's connecting to WiFi or some services.
1818

19-
The catch is your function is now part of an ISR (Interrupt Service Routine), and must be lean / mean, and follow certain rules. More to read on:
19+
The catch is your function is now part of an `ISR (Interrupt Service Routine)`, and must be `lean / mean`, and follow certain rules. More to read on:
2020

2121
https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/
2222

2323
**Important Notes:**
24-
1. Inside the attached function, delay() won’t work and the value returned by millis() will not increment. Serial data received while in the function may be lost. You should declare as volatile any variables that you modify within the attached function.
24+
1. Inside the attached function, `delay()` won’t work and the value returned by `millis()` will not increment. Serial data received while in the function may be lost. You should declare as volatile any variables that you modify within the attached function.
2525

26-
2. Typically global variables are used to pass data between an ISR and the main program. To make sure variables shared between an ISR and the main program are updated correctly, declare them as volatile.
26+
2. Typically global variables are used to pass data between an ISR and the main program. To make sure variables shared between an ISR and the main program are updated correctly, declare them as `volatile`.
2727

2828
## Installation
2929
1. Navigate to (https://github.com/khoih-prog/ESP8266_ISR_Servo) page.

0 commit comments

Comments
 (0)