Skip to content

Instantly share code, notes, and snippets.

@ajangrahmat
Created September 8, 2020 01:23
Show Gist options
  • Save ajangrahmat/01812264eaae3b4c1132ff73fab89d5e to your computer and use it in GitHub Desktop.
Save ajangrahmat/01812264eaae3b4c1132ff73fab89d5e to your computer and use it in GitHub Desktop.
Program Baca Tag RFID untuk Arduino
byte sda = 10;
byte rst = 9;
#include<KRrfid.h>
void setup() {
Serial.begin(9600);
rfidBegin();
}
void loop() {
getTAG();
if (TAG != "") {
Serial.print("TAG :");
Serial.println(TAG);
TAG = "";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment