mirror of
https://github.com/drasko/open-ameba.git
synced 2024-11-22 14:04:19 +00:00
12 lines
368 B
Text
12 lines
368 B
Text
Example Description
|
|
|
|
This example describes how to use proximity sensor to detect distance
|
|
|
|
Requirement Components:
|
|
extend board
|
|
|
|
work with arduino extended board, which has proximity sensor
|
|
|
|
When the proximity sensor is in PS mode (detect distance), if the object is close to the sensor, a near message will print out. Otherwise a far message will print out.
|
|
|
|
|