Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/r/BreakfastSerial-HEAD/examples/light_switch.py   BreakfastSerial(Download)
led = Led(board, 13)
 
button.down(led.toggle)
button.hold(lambda: led.blink(200))
 

src/b/r/BreakfastSerial-HEAD/examples/button.py   BreakfastSerial(Download)
  print "button up"
 
button.down(down_cb)
button.up(up_cb)
 

src/t/x/txtduino-HEAD/txtduino.py   txtduino(Download)
  print "button up"
 
button.down(down_press)
button.up(up_press)