Chargement…
Chargement…
Three states: WAIT_COINS, READY, DISPENSE. Each i_coin pulse increments internal credit. When credit ≥ 3, go to READY. On i_select, go to DISPENSE (o_drink='1' for one cycle), then credit resets and we return to WAIT_COINS. o_ready='1' while in READY.
