Merge pull request #73 from kattni/circuitpython-quick-start

Linting update
This commit is contained in:
Kattni 2018-03-09 18:20:25 -05:00 committed by GitHub
commit 7dbba4602a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -7,4 +7,4 @@ touch_A0 = touchio.TouchIn(board.A0) # Will not work on Circuit Playground Expr
while True:
if touch_A0.value:
print("Touched A0!")
time.sleep(0.05)
time.sleep(0.05)

View file

@ -1,5 +1,5 @@
import pulseio
import time
import pulseio
import board
led = pulseio.PWMOut(board.D13, frequency=5000, duty_cycle=0)

View file

@ -1,5 +1,5 @@
import pulseio
import time
import pulseio
import board
piezo = pulseio.PWMOut(board.A2, duty_cycle=0, frequency=440, variable_frequency=True)