Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. GPIO.setmode(GPIO.BCM)
  2. chan_list = [4, 13, 17, 22, 26, 27]
  3. GPIO.setup(chan_list, GPIO.IN)
  4.  
  5. outpin_list = [18, 24, 25, 12]
  6. GPIO.setup(chan_list, GPIO.OUT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement