diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-05 18:40:27 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2024-11-05 18:40:27 +0100 |
| commit | fa7007d00c04fc73f668e2b7f339c3f60a64d055 (patch) | |
| tree | 1c054d4f10759201134d496dbe170e2cfe49bfe5 /script.py | |
| parent | d7b8b6ae21c07fe52e691e9090c24de0d09a401f (diff) | |
did alot :)
Diffstat (limited to 'script.py')
| -rw-r--r-- | script.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/script.py b/script.py deleted file mode 100644 index 6f79a59..0000000 --- a/script.py +++ /dev/null @@ -1,27 +0,0 @@ -import random -import time -from rpi_LCD import LCD -import speech_recognition as sr -import sounddevice -import os - -LCD = LCD() -VOICE_REC = sr.Recognizer() -MIC = sr.Microphone() -PROCES_LOAD = os.getloadavg() -TIME = current_time.time() - -# ERROR CODES -ERROR_BAD_REQUEST = '400' -ERROR_UNAUTHORIZED = '401' -ERROR_NOT_FOUND = '404' -ERROR_TIMEOUT = '408' - -def CPU_INFO(): - while (True): - LCD.tex(PROCES_LOAD(),1) - -def CLOCK(): - LCD.text(TIME,1) - - |
