MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

resources/waveshare_epd/lcd1602.py:73–80  ·  view source on GitHub ↗
(self, i2c_address=0x27, i2c_bus=1)

Source from the content-addressed store, hash-verified

71 """
72
73 def __init__(self, i2c_address=0x27, i2c_bus=1):
74 self.width = LCD_WIDTH
75 self.height = LCD_HEIGHT
76 self._addr = i2c_address
77 self._bus_num = i2c_bus
78 self._bus = None
79 self._backlight = _BL # backlight ON by default
80 self._initialized = False
81
82 # ------------------------------------------------------------------
83 # Public interface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected