Hello,
I have an other question about the use of the simplycan python : How can I use correctly the sending message function ?
As I understang, the sending line must use the TxMsg :
TxMsg = Message(0x100, [1,2,3,4,5,6,7,8])
==> how can I modify this message if for example I want to send this message :
0x482 80 11 00 00 04 0A 5A 5A
And how can I send the message ? Do I only specify it in this bloc (the line send_message?):
while True:
if time.time() - lastSent > 1.0: # one message every second
lastSent = time.time()
send_message(TxMsg)
print("CAN Status:", format_status(simply.can_status()[0]))
if not receive_messages():
time.sleep(0.01)
Thank you for all.