Hi, @ananya24_7
Welcome to the forum.
How do you mean worked once!
The code only cycled once?
OR
The code only performed once and now will not work at all?
Please read the post at the start of any forum , entitled "How to use this Forum".
Can you please post your dose in code tags as shown in the above instructions?
Have you got gnd as well as CANHI and CANLOW connected between the modules?
Can you please post a circuit diagram of your connection.
Thanks.. Tom...
