Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 406 Bytes
#include <hFramework.h>
void hMain()
CAN_frameRx frame;
bool frameReceived = CAN.waitFrame(frame, 100); // receive a frame with 100ms timeout
if (frameReceived)
// access the frame in `frame` variable
if([0] == 0xab) printf("Received system time: %d\r\n",[1]);
// see more about CAN frame on Wikipedia: