mirror of
https://github.com/drasko/open-ameba.git
synced 2024-11-23 06:24:17 +00:00
13 lines
368 B
Text
13 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.
|
||
|
|
||
|
|