Skip to content

Commit

Permalink
Comment about the default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanchez committed Jan 7, 2017
1 parent 7b02beb commit ab713a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Micropython driver for the well-known untrasonic sensor [HC-SR04](http://www.micropik.com/PDF/HCSR04.pdf)

The driver has been tested on Wemos D1 mini PRO, but It should work on whatever other micropython board,
if anyone find problems in other boards, please open an issue and We'll see.
if anyone find problems in other boards, please open an issue and we'll see.

##Motivation

Expand Down Expand Up @@ -38,8 +38,8 @@ distance = sensor.distance_mm()

print('Distance:', distance, 'mm')
```

We can also define a different timeout, passing the new value in microseconds to the constructor
The default timeout is based on the sensor limit (4m), but we can also define a different timeout,
passing the new value in microseconds to the constructor.

```python
from hcsr04 import HCSR04
Expand Down

0 comments on commit ab713a5

Please sign in to comment.