Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String CPF = "";
- char buffer[]={0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x30,0x31,0x20,0x20,0x20,0x20,0x20,0x20,0x20};
- //----------------------
- void setup()
- {
- Serial.begin(9600);
- }
- //----------------------
- void loop()
- {
- for (byte i = 0; i < 16; i++)
- {
- //Serial.print(char(buffer[i])); //Mostra os dados do cartão RFID via serial
- CPF += char(buffer[i]);
- }
- Serial.println(CPF);
- delay(300);
- CPF = "";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement