Created
September 8, 2020 01:23
-
-
Save ajangrahmat/01812264eaae3b4c1132ff73fab89d5e to your computer and use it in GitHub Desktop.
Program Baca Tag RFID untuk Arduino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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