Skip to content

Commit bb41ff7

Browse files
committed
test
1 parent 998f7c0 commit bb41ff7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/gmbitbang/test_one.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env python
2+
import time
3+
from panda import Panda
4+
5+
p = Panda()
6+
p.set_safety_mode(Panda.SAFETY_ALLOUTPUT)
7+
p.set_gmlan(bus=None)
8+
9+
iden = 18000
10+
dat = "\x01\x02\x03\x04\x05\x06\x07\x08"
11+
while 1:
12+
iden += 1
13+
p.can_send(iden, dat, bus=3)
14+
time.sleep(0.01)
15+

0 commit comments

Comments
 (0)