Ok I'm assuming
this : FlexCAN_T4 is the library I want to use for this "TJA1051" board. This says it it goof for Teensy 4.0 processors.
The way the example creates the instance of the interface :
Code:
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can0;
I'm not familiar with this kind of creation. typeName<this,that,theOther> objName; What's with these <> brackets? How are they different than the old ( ) brackets? I never learned templates. My previous driver I was able to create it as a pointer and use newObj = new typeName(Params); Is there some sort of mapping between the two types or creators?
Thanks Millions!