Skip to content

Commit c3075da

Browse files
committed
blacken2
1 parent 839a8d3 commit c3075da

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/seesaw_analogin_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121

2222
while True:
2323
print(analog_in.value)
24-
time.sleep(.1)
24+
time.sleep(0.1)

examples/seesaw_digitalio_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ led.direction = digitalio.Direction.OUTPUT
2828
while True:
2929
# simply set the LED to the same 'value' as the button pin
3030
led.value = button.value
31-
time.sleep(.1)
31+
time.sleep(0.1)

examples/seesaw_eeprom_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
i2c_bus = board.I2C()
1616
ss = seesaw.Seesaw(i2c_bus)
1717

18-
val = ss.eeprom_read8(0x02) # read from address 2
18+
val = ss.eeprom_read8(0x02) # read from address 2
1919
print("Read 0x%02x from EEPROM address 0x02" % val)
2020

2121
print("Incremening value")
2222
ss.eeprom_write8(0x02, val + 1)
2323

24-
val = ss.eeprom_read8(0x02) # read from address 2
24+
val = ss.eeprom_read8(0x02) # read from address 2
2525
print("Second read 0x%02x from EEPROM address 0x02" % val)
2626

2727
while True:

examples/seesaw_neopixel_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
i2c_bus = board.I2C()
1616
ss = seesaw.Seesaw(i2c_bus)
1717

18-
NEOPIXEL_PIN = 6 # change to any pin
19-
NEOPIXEL_NUM = 30 # no more than 60!
18+
NEOPIXEL_PIN = 6 # change to any pin
19+
NEOPIXEL_NUM = 30 # no more than 60!
2020
pixels = neopixel.NeoPixel(ss, NEOPIXEL_PIN, NEOPIXEL_NUM)
21-
pixels.brightness = 0.3 # not so brite!
21+
pixels.brightness = 0.3 # not so brite!
2222

2323
color_offset = 0 # start at red
2424

0 commit comments

Comments
 (0)