Page 25
I2C Sensor and GPIO
To ease testing of several peripheral devices on your board, a user application,
i2csensor,
has
been built into image.ub.
38. To test the
LEDs, button, switch, and I2C sensor
on the board, enter
root@plnx_arm:~# i2csensor
Figure 21
– Testing LEDs, Button, Switch, and Sensor
39. Set the 2
nd
dip switch nearest the Arduino connector towards the LED. This puts both
LEDs into counting mode.
40. Press the PS push button (SW3) to blank the LEDs and restart the counter.
41. Set the 2
nd
dip switch towards the push button. This puts the outside LED into microphone
mode. Speak near the microphone, and the LED brightness will reflect the intensity of the
sound.
Figure 22
– USER DIP set towards Push Button
Содержание MiniZed
Страница 9: ...Page 9 Figure 2 MiniZed Block Diagram ...
Страница 21: ...Page 21 Figure 16 MiniZed FTP Session ...