Closed boochow closed 6 years ago
LED blink sample for Raspberry Pi Zero/Zero W
import rpi # set gpio47 to output mode rpi.mem32[int("0x20200010")] = 2**21 # set gpio47 to L (LED on) rpi.mem32[int("0x2020002C")] = 2**15 # set gpio47 to H (LED off) rpi.mem32[int("0x20200020")] = 2**15
LED blink sample for Raspberry Pi Zero/Zero W