From 11696bc8a840f07ea0433bd6d3fb189dc8633c71 Mon Sep 17 00:00:00 2001 From: cpu Date: Wed, 13 Dec 2023 13:25:07 +0100 Subject: [PATCH] note about credentials --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bec443d..4958f9d 100644 --- a/README.md +++ b/README.md @@ -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` > `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 > `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 > `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` Run it!