I'm using MCP2515 CAN controller and TJA1050 transceiver. I want to send some square waves to TJA1050 with digital write and delay instruction of Arduino. How can I do that? I also read the MCP2515's datasheet. It has 5 GPIOs. Can I use these pins to send square waves to the transceiver? Here is the library I used:https://github.com/Seeed-Studio/CAN_BUS_Shield The examples of this library contains a sample code as gpioread and gpiowrite but when I compile them I got error: exit status 1 'class MCP_CAN' has no member named 'pinMode'
Thanks in advance.