Hardware Reference
In-Depth Information
Now, let's see whether the sensor is functional. Navigate to Examples | NewPing |
NewPingExample . Select the Serial Monitor tab, and you should see the following
screenshot:
You can now sense barriers. It is straightforward to create a sketch that uses the motor
control and sonar sensor. The following is a simple sketch that combines program state-
ments for both, the DC motor control and sensor control:
Search WWH ::




Custom Search