I am using the improved flex can library and I have it reading Messages fine using
to read a specific can message and wrapping it if it goes negative.
What i want to do is send internal temp ( of the teensy3.6 on any CAN id)
any ideas of how i can do that? I am using SN65HVD230D transceivers.
Thank you!
Code:
FRWJCAN =msg.buf[2]*256 +msg.buf[3];
if (FRWJCAN> 32768)
{
FRP = (FRWJCAN- 65536)*1.00;
}
else
{
FRP = FRWJCAN*1.00;
}
to read a specific can message and wrapping it if it goes negative.
What i want to do is send internal temp ( of the teensy3.6 on any CAN id)
any ideas of how i can do that? I am using SN65HVD230D transceivers.
Thank you!