remap pins for paper size

workspace
Brendan Howell 8 years ago
parent 3e0824e7ca
commit 49e9cf81ec

@ -50,12 +50,12 @@ class Photography(Bureau):
# set pins and pullups for switches
gpio.setcfg(self.landscape_pin, gpio.INPUT)
gpio.pullup(self.landscape_pin, gpio.PULLUP)
gpio.setcfg(self.a3_pin, gpio.INPUT)
gpio.pullup(self.a3_pin, gpio.PULLUP)
gpio.setcfg(self.a4_pin, gpio.INPUT)
gpio.pullup(self.a4_pin, gpio.PULLUP)
gpio.setcfg(self.a5_pin, gpio.INPUT)
gpio.pullup(self.a5_pin, gpio.PULLUP)
gpio.setcfg(self.a6_pin, gpio.INPUT)
gpio.pullup(self.a6_pin, gpio.PULLUP)
# make sure tmp dir exists
tmpdir = "/tmp/webcam"

Loading…
Cancel
Save