-
• #2
Hi this is a forum for discussing the Espruino javascript environment, you probably want to look into the Espressif site/support for this: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/twai.html
-
• #3
Thank you for your answer. I am just looking for JS solution. Could you please provide an example of Espruino javascript using TWAI?Thank you very much
-
• #4
Hi - sorry, but we don't support CAN on ESP32 via Espruino at the moment. If you wanted to use it with Espruino you'd have to build your own firmware with some C code in, as shown in https://www.espruino.com/Extending+Espruino+1.
I'm afraid it's not something that is very high up our priority list for ESP32 at the moment so it's likely not something I would work on - but if someone added it and sent a PR I'm happy to merge it!
-
• #5
can is a common function, very much looking forward to the official can solve and improve, so that all users together carnival.
Dear Sir/Madam,
I am interested in developing with the ESP32 and need to utilize its TWAI (CAN) functionality. However, I have been unable to find the relevant documentation and functions. Could you please provide me with some examples and materials? Thank you very much for your assistance. I wish you and your family happiness and all the best.
Best regards.