-->
Page 1 of 1

ESP8266 and Coinslot

PostPosted: Tue Jul 14, 2020 4:01 am
by vvveeee5
Gooday! I may ask to everyone, if it is possible to reject a coin from a Universal Coin Acceptor using a esp8266? for example , i need to push first a button before a coinslot accept a coin? can i see a sample code.

here is my code;

void ICACHE_RAM_ATTR CoinAccept(){
CoinCount++;
StartTime=millis (); //start of time every coin drop
digitalWrite(LED_BUILTIN,LOW);
}

void setup() {
attachInterrupt(D5, CoinAccept, RISING);
}

Re: ESP8266 and Coinslot

PostPosted: Wed Jul 15, 2020 3:31 am
by pangolin