(self)
| 38 | #_kbd = None |
| 39 | |
| 40 | def __init__(self): |
| 41 | # Release any resources currently in use for the displays |
| 42 | displayio.release_displays() |
| 43 | |
| 44 | _tft_cs = board.D9 |
| 45 | _tft_dc = board.D10 |
| 46 | _display_bus = fourwire.FourWire(Pydos_hw.SPI(), command=_tft_dc, chip_select=_tft_cs) |
| 47 | _display = adafruit_ili9341.ILI9341(_display_bus, width=320, height=240) |
| 48 | |
| 49 | self.kbd = BBQ10Keyboard(Pydos_hw.I2C(),BBQI2CDevice=Pydos_hw.I2CbbqDevice) |
| 50 | |
| 51 | self._contrl_seq = [] |
| 52 | |
| 53 | self.shift_Lock = False |
| 54 | self.shift_Mode = self.SHIFT # Default Cap lock/Long Press mode |
| 55 | |
| 56 | self.lastCmdLine = "" |
| 57 | self.commandHistory = [] |
| 58 | |
| 59 | def serial_bytes_available(self): |
| 60 | # Does the same function as supervisor.runtime.serial_bytes_available |
nothing calls this directly
no test coverage detected