... | @@ -15,14 +15,17 @@ |
... | @@ -15,14 +15,17 @@ |
|
|
|
|
|
**Overall plan**
|
|
**Overall plan**
|
|
|
|
|
|
# Exercise 1
|
|
> # Exercise 1
|
|
|
|
>
|
|
**Task**
|
|
> **Task**
|
|
To mount the sound sensor and run a test using a modified version of SonicSensorTest.java. Test the sensor with
|
|
>
|
|
different loudness and under different circumstances and describe the readings.
|
|
> To mount the sound sensor and run a test using a modified version of SonicSensorTest.java. Test the sensor with
|
|
|
|
> different loudness and under different circumstances and describe the readings.
|
|
**Plan**
|
|
>
|
|
We made a program similar to the SonicSensorTest called SoundSensorTest, but changed it to use the sound sensor and get the readings using the readValue() method of the SoundSensor class.
|
|
> **Plan**
|
|
|
|
>
|
|
|
|
> We made a program similar to the SonicSensorTest called SoundSensorTest, but changed it to use the sound sensor and > get the readings using the readValue() method of the SoundSensor class.
|
|
|
|
>
|
|
|
|
|
|
```
|
|
```
|
|
public class SoundSensorTest
|
|
public class SoundSensorTest
|
... | | ... | |