User Tools

Site Tools


sleepy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sleepy [2015/04/24 12:26] andisleepy [2015/04/24 13:42] (current) 2001:1a80:22a4:a900:97fc:6854:fe65:ef8c
Line 24: Line 24:
 | Yellow | GPIO #4 | | Yellow | GPIO #4 |
 | Green  | GND | | Green  | GND |
 +
 +
 +  sudo modprobe w1-gpio
 +  sudo modprobe w1-therm
 +  cat /sys/bus/w1/devices/28-000005d40596/w1_slave
  
 ===== Speaker ===== ===== Speaker =====
Line 32: Line 37:
  
 mono files mono files
 +
 +
 +  gpio mode 1 out
 +  gpio write 1 1
 +  play test.wav -c 1 repeat 3
 +  gpio write 1 0
 +
 +===== Buttons =====
 +
 +  * Button right: GPIO #17
 +  * Button left: GPIO #27
  
sleepy.1429878373.txt.gz · Last modified: 2015/04/24 12:26 by andi