Updated README to use requirements file
This commit is contained in:
@@ -44,7 +44,7 @@ A Python application that displays the current time in `HH:MM:SS` format using f
|
||||
|
||||
3. Install dependencies:
|
||||
```bash
|
||||
pip install luma.led_matrix spidev Pillow
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Enable SPI:
|
||||
@@ -73,6 +73,8 @@ source venv/bin/activate
|
||||
pip install Pillow
|
||||
```
|
||||
|
||||
Note: The emulator only requires Pillow since it uses Tkinter (included with Python).
|
||||
|
||||
## Usage
|
||||
|
||||
### Emulator Mode (for development/testing)
|
||||
|
||||
+4
-5
@@ -1,7 +1,6 @@
|
||||
# Image processing (required for emulator and hardware)
|
||||
# Image processing
|
||||
Pillow>=9.0.0
|
||||
|
||||
# Hardware support (only needed on Raspberry Pi)
|
||||
# Uncomment these when deploying to hardware:
|
||||
# luma.core>=2.4.0
|
||||
# luma.led_matrix>=1.7.0
|
||||
# Hardware support (Raspberry Pi)
|
||||
luma.led_matrix>=1.7.0
|
||||
spidev>=3.0
|
||||
|
||||
Reference in New Issue
Block a user