Fix PEP8 compliance

This commit is contained in:
Craig Richardson 2018-05-15 14:54:28 +01:00
parent 776440b1bc
commit 766c59e898
2 changed files with 5 additions and 2 deletions

View file

@ -5,7 +5,8 @@ import board
# For Trinket M0, Gemma M0, and ItsyBitsy M0 Express
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
# For Feather M0 Express, Metro M0 Express, Metro M4 Express, and Circuit Playground Express
# For Feather M0 Express, Metro M0 Express, Metro M4 Express, and Circuit
# Playground Express
# led = neopixel.NeoPixel(board.NEOPIXEL, 1)
led.brightness = 0.3

View file

@ -7,7 +7,9 @@ import pulseio
piezo = pulseio.PWMOut(board.A2, duty_cycle=0,
frequency=440, variable_frequency=True)
# For Metro M4 Express:
# piezo = pulseio.PWMOut(board.A1, duty_cycle=0, frequency=440, variable_frequency=True)
# piezo = pulseio.PWMOut(
# board.A1, duty_cycle=0, frequency=440, variable_frequency=True
# )
while True:
for f in (262, 294, 330, 349, 392, 440, 494, 523):