openpilot1/panda/tests/get_version.py

8 lines
173 B
Python
Executable File

#!/usr/bin/env python3
from panda import Panda
if __name__ == "__main__":
for p in Panda.list():
pp = Panda(p)
print(f"{pp.get_serial()[0]}: {pp.get_version()}")