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

Method _send_data

resources/waveshare_epd/lcd1602.py:230–233  ·  view source on GitHub ↗

Send an 8-bit data byte to the LCD (RS=1).

(self, data: int)

Source from the content-addressed store, hash-verified

228 self._send_nibble((cmd << 4) & 0xF0, 0)
229
230 def _send_data(self, data: int):
231 """Send an 8-bit data byte to the LCD (RS=1)."""
232 self._send_nibble(data & 0xF0, _RS)
233 self._send_nibble((data << 4) & 0xF0, _RS)
234
235 def _set_cursor(self, row: int, col: int):
236 """Move cursor to (row, col)."""

Callers 1

write_lineMethod · 0.95

Calls 1

_send_nibbleMethod · 0.95

Tested by

no test coverage detected