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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/b/r/BreakfastSerial-HEAD/examples/potentiometer.py   BreakfastSerial(Download)
pin A0 and a LED on pin 9.
"""
from BreakfastSerial import Arduino, Sensor, Led
 
board = Arduino()
sensor = Sensor(board, "A0")
led = Led(board, 9)

src/b/r/BreakfastSerial-HEAD/examples/light_switch.py   BreakfastSerial(Download)
led wired to pin 13.
"""
from BreakfastSerial import Arduino, Led, Button
 
board = Arduino()
button = Button(board, 8)
led = Led(board, 13)

src/b/r/BreakfastSerial-HEAD/examples/led.py   BreakfastSerial(Download)
led wired up to pin 13.
"""
from BreakfastSerial import Led, Arduino
 
board = Arduino()
led = Led(board, 13)

src/t/x/txtduino-HEAD/txtduino.py   txtduino(Download)
import settings
import sys
 
from BreakfastSerial import Led, Arduino, Button
from twilio import TwilioRestException
BUTTON_PIN = 2
 
led = Led(board, LED_PIN)
button = Button(board, BUTTON_PIN)