proxmark3/client/lib/example_lua/test.lua

6 lines
113 B
Lua
Executable file

#!/usr/bin/env lua
local pm3 = require("pm3")
p=pm3.device("/dev/ttyACM0")
p:console("hw status")
print(p.name)