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:
|
3. Install dependencies:
|
||||||
```bash
|
```bash
|
||||||
pip install luma.led_matrix spidev Pillow
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Enable SPI:
|
4. Enable SPI:
|
||||||
@@ -73,6 +73,8 @@ source venv/bin/activate
|
|||||||
pip install Pillow
|
pip install Pillow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: The emulator only requires Pillow since it uses Tkinter (included with Python).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Emulator Mode (for development/testing)
|
### Emulator Mode (for development/testing)
|
||||||
|
|||||||
+4
-5
@@ -1,7 +1,6 @@
|
|||||||
# Image processing (required for emulator and hardware)
|
# Image processing
|
||||||
Pillow>=9.0.0
|
Pillow>=9.0.0
|
||||||
|
|
||||||
# Hardware support (only needed on Raspberry Pi)
|
# Hardware support (Raspberry Pi)
|
||||||
# Uncomment these when deploying to hardware:
|
luma.led_matrix>=1.7.0
|
||||||
# luma.core>=2.4.0
|
spidev>=3.0
|
||||||
# luma.led_matrix>=1.7.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user