CoinSlot to Arduino... Need Help

Variables used in the ISR need to be volatile.