mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-15 11:05:08 +00:00
This should also fix #1381. There is something strange about the handling of micros() timers in `NewPingESP8266`. For this reason I added also a timeout based on `millis()`.
27 lines
949 B
Markdown
27 lines
949 B
Markdown
# NewPingESP8266
|
|
#### NewPing port for ESP8266 (Arduino IDE)
|
|
|
|
NewPing Library (Ultrasonic Sensors)
|
|
|
|
Written by Tim Eckel.
|
|
|
|
https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home
|
|
|
|
Modified for Teensy 3.0 & 3.1
|
|
|
|
https://github.com/PaulStoffregen/NewPing
|
|
|
|
http://forum.pjrc.com/threads/25907-Multiple-HCSR-04-Ultrasonic-sensors-on-teensy-3
|
|
|
|

|
|
|
|

|
|
|
|
Updated to support ESP8266 (Arduino IDE) by Jordan Shaw
|
|
|
|
https://github.com/jshaw/NewPingESP8266
|
|
|
|
Port was influenced by the issue: https://github.com/PaulStoffregen/NewPing/issues/2.
|
|
|
|
Also, removed non-compatable ping examples using timers due to incompatability with "Timer interrupt ping methods (won't work with non-AVR, ATmega128 and all ATtiny microcontrollers)" (NewPingESP8266.cpp ln. 198)
|