I am trying to make a pill dispenser using a rasp berry pi and an Arduino. I am trying to structure it so that
I will create a web server on the Rasp Berry Pi with several URLs corresponding with each type of pill to be dispensed.
Then I will have one URL that consists of the user interface that will access one of the other several URLs .
I need to make a mechanism that runs a script to output a digital 3 bit signal from the gpio pins to the arduino.
How would I go about doing this?