Skip to content

Commit 7a07831

Browse files
authored
Merge pull request #1 from tannewt/master
Wrap long lines
2 parents 0d177fe + d9063a9 commit 7a07831

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

adafruit_il0398.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
__version__ = "0.0.0-auto.0"
4646
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IL0398.git"
4747

48-
# TODO: Try LUTs from: https://github.com/waveshare/e-Paper/blob/master/STM32/STM32-F103ZET6/User/e-Paper/EPD_4in2.c
48+
# TODO: Try LUTs from:
49+
# https://github.com/waveshare/e-Paper/blob/master/STM32/STM32-F103ZET6/User/e-Paper/EPD_4in2.c
4950

5051
_START_SEQUENCE = (
5152
b"\x01\x04\x03\x00\x2b\x2b" # power setting
@@ -87,5 +88,6 @@ def __init__(self, bus, **kwargs):
8788
super().__init__(bus, start_sequence, _STOP_SEQUENCE, **kwargs,
8889
ram_width=400, ram_height=300,
8990
busy_state=False,
90-
write_black_ram_command=write_black_ram_command, write_color_ram_command=write_color_ram_command,
91+
write_black_ram_command=write_black_ram_command,
92+
write_color_ram_command=write_color_ram_command,
9193
color_bits_inverted=True, refresh_display_command=0x12)

examples/il0398_4.2_color.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
baudrate=1000000)
2929
time.sleep(1)
3030

31-
display = adafruit_il0398.IL0398(display_bus, width=400, height=300, seconds_per_frame=20, highlight_color=0xff0000, busy_pin=epd_busy)
31+
display = adafruit_il0398.IL0398(display_bus, width=400, height=300, seconds_per_frame=20,
32+
highlight_color=0xff0000, busy_pin=epd_busy)
3233

3334
g = displayio.Group()
3435

examples/il0398_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
baudrate=1000000)
2727
time.sleep(1)
2828

29-
display = adafruit_il0398.IL0398(display_bus, width=400, height=300, seconds_per_frame=20, busy_pin=epd_busy)
29+
display = adafruit_il0398.IL0398(display_bus, width=400, height=300, seconds_per_frame=20,
30+
busy_pin=epd_busy)
3031

3132
g = displayio.Group()
3233

0 commit comments

Comments
 (0)