ConfigureSPI() public method

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