A-Class BOOKA

https://drive.google.com/open?id=1UscrdM4h1_yzj8pZZUG1WKKCPXkG62hh

LED blink.py

import time,RPi.GPIO as GPIO

GPIO.setmode(GPIO.BCM)

GPIO.setwarnings(False)

GPIO.setup(4,GPIO.OUT)

while True:

LEDon=GPIO.output(4,1)

time.sleep(1)

LEDoff=GPIO.output(4,0)

time.sleep(1)

modiy time

sudo date -s "Thu Aug 9 21:31:26 UTC 2012"

tzselect #改變時區