From bb41ff753de2f9ad7c16a9a04e6f90630486af1e Mon Sep 17 00:00:00 2001 From: George Hotz Date: Fri, 15 Jun 2018 16:28:14 -0700 Subject: [PATCH] test --- tests/gmbitbang/test_one.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tests/gmbitbang/test_one.py diff --git a/tests/gmbitbang/test_one.py b/tests/gmbitbang/test_one.py new file mode 100755 index 00000000000000..b2445e381070ee --- /dev/null +++ b/tests/gmbitbang/test_one.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +import time +from panda import Panda + +p = Panda() +p.set_safety_mode(Panda.SAFETY_ALLOUTPUT) +p.set_gmlan(bus=None) + +iden = 18000 +dat = "\x01\x02\x03\x04\x05\x06\x07\x08" +while 1: + iden += 1 + p.can_send(iden, dat, bus=3) + time.sleep(0.01) +