Skip to content
Advertisement

Tag: python-can

Close bus in python-can

I am using python-can to send CAN messages like this: The script works fine, but when I run it for a 2nd time, it results in an error, because the bus is still open from the previous time. I think I need something like this at the end of my script: However, this does not exist and I can’t seem

Advertisement