kopia lustrzana https://github.com/projecthorus/wenet
led change
rodzic
3a84f687f9
commit
d0856d292b
|
@ -4,6 +4,12 @@ Connect [Broadcom pin GPIO 21 / pin 40 on the Pi header](https://pinout.xyz/pino
|
|||
|
||||
### Software
|
||||
|
||||
#### 0. Install pyalsaaudio
|
||||
|
||||
```
|
||||
sudo apt-get install python3-alsaaudio
|
||||
```
|
||||
|
||||
#### 1. Compile the device tree overlay
|
||||
```sh
|
||||
cd tx/i2smaster/
|
||||
|
|
|
@ -228,7 +228,7 @@ class RFM98W_Serial(RFM98W):
|
|||
|
||||
self.serial_port = serial_port
|
||||
|
||||
super().__init__(spidevice,frequency,baudrate,tx_power_dbm,reinit_count)
|
||||
super().__init__(spidevice,frequency,baudrate,tx_power_dbm,reinit_count,led=5)
|
||||
self.start()
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue