-
Notifications
You must be signed in to change notification settings - Fork 225
PING 28015 ultrasonic sensor
Jaume Olivé Petrus edited this page Jan 20, 2017
·
22 revisions
What | Comments | |
---|---|---|
Identifier | PING28015 | |
Interface | GPIO | 1 pin |
Provides | distance | meters |
[Datasheet] (https://www.parallax.com/sites/default/files/downloads/28015-PING-Sensor-Product-Guide-v2.0.pdf) |
s1 = sensor.setup("PING28015", pio.GPIO4)
s1:acquire()
s1:read("distance")