JustinB
Well-Known Member
Ok, I think I figured out the meeting place, just a little confused on the date.or if you prefer isotpsendCode:# 3honk.py import time, os # MUST HAVE can-utils INSTALLED os.system('cansend can1 620#10.03.00.00.00.00.00.00') for i in range(0, 3): # HONK 3 TIMES print("HONK") os.system('cansend can1 620#2F.D0.AD.03.01.00.00.00') # HONK time.sleep(0.05) os.system('cansend can1 620#2F.D0.AD.03.00.00.00.00') # UNHONK time.sleep(0.1) i += 1
Code:# 3honkisotp.py import time, os os.system('echo "10 03" | isotpsend -s 620 -d 504 -p 00: -P a can1') for i in range(0,3): print("HONK") os.system('echo "2F D0 AD 03 01" | isotpsend -s 620 -d 504 -p 00:00 -P a can1') time.sleep(0.05) os.system('echo "2F D0 AD 03 00" | isotpsend -s 620 -d 504 -p 00:00 -P a can1') time.sleep(0.1) i += 1
#closeencountersofthethirdkindLOL
Sponsored