 const uint8_t timeBetweenScans = 200;
 uint16_t credits_in_machine;//Serial.parseInt();
 
-const uint8_t speakerOutPin = 9;
+const uint8_t speakerOutPin = A1;
 
 void setup() {
   //Serial2.begin(19200);

}

void beepp(unsigned char delayms){
  analogWrite(speakerOutPin, 100);     // Almost any value can be used except 0 and 255
                           // experiment to get the best tone
  delay(delayms);          // wait for a delayms ms
  analogWrite(speakerOutPin, 0);       // 0 turns it off
}                         

  SPI.begin(); // Init SPI bus
  mfrc522.PCD_Init(); // Init MFRC522 card
  pinMode(speakerOutPin, OUTPUT); // speaker out
  BEEP(1);
}

uint16_t rfid_raw_read(){
