Subversion Repositories HomeAutomation

Rev

Rev 553 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 553 Rev 554
Line 59... Line 59...
59
    BIOS_CanCallback = &can_receive;
59
    BIOS_CanCallback = &can_receive;
60
    // Send CAN_NMT_APP_START
60
    // Send CAN_NMT_APP_START
61
    BIOS_CanSend(&txMsg);
61
    BIOS_CanSend(&txMsg);
62
   
62
   
63
    printf("AVR Test Application\n");
63
    printf("AVR Test Application\n");
64
    printf("Using AVR BIOS version %x\n", BIOS_VERSION);
-
 
65
   
64
   
66
    txMsg.Id = (CAN_TST << CAN_SHIFT_CLASS) | NODE_ID;
65
    txMsg.Id = (CAN_TST << CAN_SHIFT_CLASS) | NODE_ID;
67
    txMsg.Data.dwords[0] = 0x01020304;
66
    txMsg.Data.dwords[0] = 0x01020304;
68
    txMsg.DataLength = 8;
67
    txMsg.DataLength = 8;
69
 
68