added requirements.txt

This commit is contained in:
Luxferre
2025-12-22 17:54:40 +02:00
parent 306f669e7c
commit d92b7dd373
3 changed files with 10 additions and 5 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ T-DeckARD modules are divided into two categories: **components**, which are the
On T-Deck (Plus), the following components must be installed: On T-Deck (Plus), the following components must be installed:
- CircuitPython 10.x (tested on 10.0.3); - CircuitPython 10.x (tested on 10.0.3);
- Adafruit Library Bundles from the [official CircuitPython page](https://circuitpython.org/libraries); - Adafruit Library Bundles from the [official CircuitPython page](https://circuitpython.org/libraries).
If you have `circup` installed, you can connect the device via USB and then run `circup install -r requirements.txt` from the project root.
The [tdeck_repl](https://github.com/RetiredWizard/tdeck_repl) distribution is already incorporated into the repo. The [tdeck_repl](https://github.com/RetiredWizard/tdeck_repl) distribution is already incorporated into the repo.
+4 -4
View File
@@ -14,13 +14,13 @@ class PyDOS_UI:
self.arrow = "" self.arrow = ""
self._cmdhistlock = False self._cmdhistlock = False
self._seqCnt = 0 self._seqCnt = 0
self._key = bytearray(1) self._key = bytearray(1)
self._touched = False self._touched = False
_ADDRESS_KBD = 0x55 _ADDRESS_KBD = 0x55
self.commandHistory = [""] self.commandHistory = [""]
self._i2c = I2CDevice(board.I2C(), _ADDRESS_KBD) self._i2c = I2CDevice(board.I2C(), _ADDRESS_KBD)
self.trackball = keypad.Keys( self.trackball = keypad.Keys(
[ [
board.TRACKBALL_CLICK, board.TRACKBALL_CLICK,
+3
View File
@@ -0,0 +1,3 @@
adafruit_connection_manager>=3.1.6
adafruit_requests>=4.1.15
adafruit_bus_device>=5.2.14