private void Run() { mfrc522.ConfigureSPI(); Console.WriteLine(StringUtils.ToHexString(mfrc522.ReadReg_MFRC522(mfrc522.VersionReg))); ConfigureTimer(!activated); Thread.Sleep(-1); }
private void Run() { mfrc522.ConfigureSPI(); StringUtils.PrintConsole("MF522-AN Version: " + StringUtils.ByteToHexString(mfrc522.ReadReg_MFRC522(mfrc522.VersionReg))); ConfigureTimer(!activated); Thread.Sleep(-1); }