So I tryed pins 12 and 13 without luck. Then I used 4 and 5 again with the ESP32CAN. It works now. It seems it was not working because the baudrate is always half as what it is set to.
I looked at the CAN library. It says it does have support for the EPS's SJA1000 CAN controller. But the library produces no can messages. I need the callback functionality of the CAN library, which the ESP32CAN does not have. Why does the CAN library not work? anyone got an idea?
Thanks for the tip.
1 Like