Skip to content

Commit 73de71f

Browse files
committed
Removed references to ABC and abstractmethod
1 parent 07d30d0 commit 73de71f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

sparkfun_serlcd.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
__repo__ = "https://github.com/fourstix/Sparkfun_CircuitPython_SerLCD.git"
6161

6262
# imports
63-
from abc import ABC, abstractmethod
6463
from time import sleep
6564
from micropython import const
6665

@@ -140,9 +139,9 @@ def _map_range(value, in_min, in_max, out_min, out_max):
140139
return int(result)
141140

142141
# abstract base class
143-
class Sparkfun_SerLCD(ABC):
142+
class Sparkfun_SerLCD:
144143
"""Abstract base class for Sparkfun AVR-Based Serial LCD display.
145-
Use the appropriate driver communcation subclass Sprarkfun_SerLCD_I2C()
144+
Use the appropriate driver communcation subclass Sparkfun_SerLCD_I2C()
146145
for I2C, Sparkfun_SerLCD_SPI() for SPI or Sparkfun_SerLCD_UART for UART.
147146
"""
148147
# pylint: disable=too-many-instance-attributes
@@ -463,11 +462,9 @@ def default_splash_screen(self):
463462

464463
# abstract methods
465464

466-
@abstractmethod
467465
def _write_bytes(self, data):
468466
pass
469467

470-
@abstractmethod
471468
def _change_i2c_address(self, addr):
472469
pass
473470

0 commit comments

Comments
 (0)