ADD: 'lf cotag read' - COTAG can be read now.

This commit is contained in:
iceman1001 2017-02-02 15:32:21 +01:00
commit 5f5b83b743
9 changed files with 232 additions and 41 deletions

View file

@ -222,10 +222,11 @@ int CmdSetDivisor(const char *Cmd)
PrintAndLog("divisor must be between 19 and 255");
return 1;
}
// 12 000 000 (12Mhz)
//
clearCommandBuffer();
SendCommand(&c);
PrintAndLog("Divisor set, expected freq=%dHz", 12000000 / (c.arg[0]+1));
PrintAndLog("Divisor set, expected %.1f KHz", ((double)12000 / (c.arg[0]+1)) );
return 0;
}