Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
GPIO17 = CS
GPIO18 = CLK
GPIO22 = DI
GPIO27 = DO
GPIO23 = Pluvio1
GPIO24 = Pluvio2
GPIO25 = Int del Minuto
safe_mode_gpio=4
max_usb_current=1
#Colocar ip a la raspberry
sudo nano /etc/network/interfaces // agregar lo siguiente
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.32.32.18
netmask 255.255.255.0
gateway 10.32.32.1
Hora Raspberry
sudo date --set "2017-05-22 07:13:00"
import subprocess
batcmd="udevadm info --query=all --name=/dev/mmcblk0p1 | grep ID_SERIAL"
result = subprocess.check_output(batcmd, shell=True)
cat /sys/class/thermal/thermal_zone0/temp