Skip to content

Commit eb98aca

Browse files
committed
update readme
1 parent 3ddabb6 commit eb98aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
This is a simple library for an interrupt based, non-blocking alternative to Arduino's [pulseIn](https://reference.arduino.cc/reference/cs/language/functions/advanced-io/pulsein/) function.
33

44
# Example uses
5-
This library is well suited to read the channels of a RC receiver or the output of an ultrasonic distance sensor. Given that it uses interrupts to measure the signals, one can read multiple signals without long delays in the main loop of a sketch.
5+
This library is well suited to read the channels of a RC receiver or the output of an ultrasonic distance sensor. Given that it uses interrupts to measure the signals, one can read multiple signals without delays in the main loop.
66

77
# How it works
8-
Pin change interrupts are used to detect when a signal is rising or falling, and the _on-time_ of the signal is measured in microseconds. Therefore, this library is only suited to decode PWM-like signals, where the time of the pulse-width (on-time) determines the value of the signal.
8+
A pin change interrupts is used to detect when a signal is rising or falling, and the _on-time_ of the signal is measured in microseconds. As such, this library is only suited to decode PWM-like signals, where the time of the pulse-width (on-time) determines the value of the signal.
99

1010
![image](diagram.png)
1111

0 commit comments

Comments
 (0)