Let me make sure I’m on the right track so I don’t keep wasting your time.
We will have a tablet running the main program to control the printing & credits. An arduino with the coin slot that will trigger a +1 to a credits counter in the main program when a coin is inserted. Once the credits = the # of pages the main program will start printing & every page printed will trigger a -1 to a credits counter.
It’s 5AM so if I’m asking silly questions forgive me :)