pylint
This commit is contained in:
parent
d766a325f7
commit
bf250bb237
1 changed files with 6 additions and 5 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
from board import *
|
|
||||||
import busio
|
|
||||||
from adafruit_seesaw.seesaw import Seesaw
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
myI2C = busio.I2C(SCL, SDA)
|
import board
|
||||||
|
import busio
|
||||||
|
from adafruit_seesaw.seesaw import Seesaw
|
||||||
|
|
||||||
|
myI2C = busio.I2C(board.SCL, board.SDA)
|
||||||
|
|
||||||
ss = Seesaw(myI2C)
|
ss = Seesaw(myI2C)
|
||||||
|
|
||||||
ss.pin_mode(15, ss.OUTPUT);
|
ss.pin_mode(15, ss.OUTPUT)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
ss.digital_write(15, True) # turn the LED on (True is the voltage level)
|
ss.digital_write(15, True) # turn the LED on (True is the voltage level)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue