I going to use a raspberry pi4 with three buttons, 'back', 'repeat', 'next'.
So far, with pyttsx3, I have defined a function for number 66 in the vending machine like so:
def no66():
engine.say("Mrs Freshlys Cupcakes, 66")
engine.runAndWait()
If I want to make a list of all the things in the vending machine, is it ok to continue to define functions for each number? and How do I map them to the buttons so blind people can go manually back and forth through the list or repeat one entry?
We want to attach the rasberry pi with the three buttons next to the vending machine (which already has braille on the keypads), so its easier for people to use. like a vending machine catalogue of sorts.