
2) Because the pwm_ehrpwm1b.14's extension is .14. It is needed to add parameter 14 when buzzer
tested.
root@beaglebone:~# test_pwm 14
The buzzer will make sounds in different frequency.
DS18B20
1) Insert the DS18B20 into the 1-WIRE socket, short the 1-WIRE jumper, enter:
root@beaglebone:~#ls /sys/bus/w1/devices/
You will find the "28-00000 57c5948" (the last 7 characters are unique for each DS18B20, it
depends)
2) Execute:
root@beaglebone:~#test_ds18b20 57c5948
The terminal will print the current temperature.
Buttons
1) Execute
root@beaglebone:~# test_key event2
Note: Device file "event2" is based on user‘s device, Not necessarily "event2". You can
execute the following command to view:
root@beaglebone:~# ls /dev/input
Check event device
2) Press any of the onboard buttons, the terminal will show which one has been pressed, press
Ctrl+C to exit.
Note: if the LCD screen was connected while testing joystick/buttons, the LCD screen
seems that it was touched at the same time, it's normal.
www.ekt2.com
Electronics Katrangi Trading