note about credentials
This commit is contained in:
@@ -48,6 +48,9 @@ Configuration
|
|||||||
Check your Raspberry pi board pin layout and make sure your button matches with the GPIO pin `PIN = 27` from `kukuc-clock.py`
|
Check your Raspberry pi board pin layout and make sure your button matches with the GPIO pin `PIN = 27` from `kukuc-clock.py`
|
||||||
> `pinout`
|
> `pinout`
|
||||||
|
|
||||||
|
Set the username and password for the Text-To-Speech API as `username:password`
|
||||||
|
> `nano credentials.txt`
|
||||||
|
|
||||||
Use `raspi-config` `"System Options -> Audio"` to generate the ALSA config file
|
Use `raspi-config` `"System Options -> Audio"` to generate the ALSA config file
|
||||||
> `sudo raspi-config`
|
> `sudo raspi-config`
|
||||||
|
|
||||||
@@ -60,7 +63,11 @@ Put your sound card number `"card 0"` or `"card 1"` into the ALSA config file
|
|||||||
Install the ALSA config file
|
Install the ALSA config file
|
||||||
> `mv .asoundrc ~/`
|
> `mv .asoundrc ~/`
|
||||||
|
|
||||||
Test it first with emulated GPIO. It will simulate the button event: 'press and hold for 8 seconds then release'
|
|
||||||
|
Run the simulation
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Test it first with emulated GPIO. It will simulate the button event: `press and hold for 8 seconds then release`. It should play the time from the speaker. It should also work on an X86 platforms under linux
|
||||||
> `python3 kukuc-clock.py test`
|
> `python3 kukuc-clock.py test`
|
||||||
|
|
||||||
Run it!
|
Run it!
|
||||||
|
|||||||
Reference in New Issue
Block a user