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

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

src/b/r/BreakfastSerial-HEAD/examples/buzzer.py   BreakfastSerial(Download)
wired up to pin A0 and a buzzer on pin 8.
"""
from BreakfastSerial import Arduino, Buzzer, Sensor, setInterval
from time import sleep
 
board = Arduino()
buzzer = Buzzer(board, "8")
sensor = Sensor(board, "A0")

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")