Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By vvveeee5
#87889 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);
}