1)Hi, i am using Wiegand RFID reader.The manufacturer says the RFID reader operates under 12V.I am tested using 5V & 9V but it does not works?Why it does not work under 5V & 9V ?
2) What does this programming source code says?What is the purpose of using this code for wiegand reader?
//read Wiegand Format (26bit binary) card data
for(i=0; i<26;i++)
{
while(input(PIN_E0)==1 && input(PIN_E1)==1);
if(input(PIN_E1)==0 )
{
if(i!=0 && i != 25)
{
shift_left(buffer,3,0);
}
}
if(input(PIN_E0)==0)
{
if(i!=0 && i != 25)
{
shift_left(buffer,3,1);
}
}
delay_us(500);
}