Update code.py

remove trailing whitespace
This commit is contained in:
Mike Barela 2018-07-12 09:34:26 -04:00 committed by GitHub
parent bb6ab0b5c4
commit c697c08f2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,12 +14,12 @@ def play_file(wavfile):
speaker.play(wav) speaker.play(wav)
while speaker.playing: while speaker.playing:
pass pass
# NeoPixels on the Circuit Playground Express Light Blue # NeoPixels on the Circuit Playground Express Light Blue
pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, brightness=0.3) pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, brightness=0.3)
# Fill them with our favorite color "#0099FF light blue" -> 0x0099FF # Fill them with our favorite color "#0099FF light blue" -> 0x0099FF
# (see http://www.color-hex.com/ for more colors and find your fav!) # (see http://www.color-hex.com/ for more colors and find your fav!)
pixels.fill(0x0099FF) pixels.fill(0x0099FF)
while True: while True:
print("Hello world!") print("Hello world!")