def __disconnectRadioModule():
     gpio.setup(174, 'in')
 def __connectRadioModule():
     gpio.setup(174, 'out')
def setup():
    g.setup()
    g.setup_interrupt(g.switches[2], stopanimation)
def setup():
    g.setup()
    g.setup_interrupt(g.switches[2], stopanimation)
def setup():
    g.setup()
    g.setup_interrupt(g.switches[2], start_timelapse)
    g.setup_interrupt(g.switches[3], stop)
Beispiel #6
0
def setup():
    g.setup()
    g.setup_interrupt(g.switches[2], start_timelapse)
    g.setup_interrupt(g.switches[3], stop)