CAN BUS Error with M5Stack and COMMU Module
-
Hi, I send the command via canbus to the M5stack but receive a different message.
Example:
I send 00 00 00 D8 0D 06 01
I receive 00 00 00 D8 r 08 01It doesn't seem to like '0D' and sees it as CR
Is this a bug? Any ideas on how to fix it?
thank you!
-
Hi,
I also have a bug with the COMMU module and the CAN BUS.
The code I have is working with the firmware 1.11.6, but not anymore with the 1.11.7.
I get the following error message "function takes 4 positional arguments but 3 were given". This is the python command "com.commu_can_init(3, 3)".Any update on that ?
-
Solved with the code ;-)
message = com.commu_can_read_message(0)
hex_list = []
for b in message:
hex_str = hex(b)[2:]
if len(hex_str) < 2:
hex_str = '0' + hex_str
hex_list.append(hex_str)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login