portrefs = (SPICS=4 ? 4 : 6);
portrefs = (SPICS==4 ? 4 : 6);
You're right, it should. Simple mistakes.After fixing it, I still get the same failure to initialize CAN on pin 4 though.
Hey guys, quick question here. I'm using some time sensitive code so one of the methods I've been trying to reduce the code execution time is to reference the port and pin directly instead of using digitalwrite().