fix doc light pin reference

workspace
Brendan Howell 8 years ago
parent b6fec0c430
commit 7fa2deaa15

@ -22,8 +22,8 @@ class Photography(Bureau):
# set up the gpios for lamp & knobs
gpio.init()
gpio.pullup(doc_light_pin, 0) # reset pullup state
gpio.pullup(doc_light_pin, gpio.PULLDOWN)
gpio.pullup(self.doc_light_pin, 0) # reset pullup state
gpio.pullup(self.doc_light_pin, gpio.PULLDOWN)
def _doc_light_on(self):

Loading…
Cancel
Save