Hi all,
it is driving me crazy and unfortunately I look for it in internet but I was not able to find the solution.
I want to start building a program with CAN communication in an Arduino NANO ESP32. For that I am using the TWAI library. I have used the TWAIRecieve.ino example in Arduino IDE and works as expected. But now I wanted to move to PlatformIO
I copied the code from TWAIRecieve.ino → main.cpp
And I configure platformio.ini file as following
Could you please share your setup and code? I’m trying to replicate the CAN transmission with the Arduino NanoESP32 and neither receive nor transmit seems to function.