Ignore:
Timestamp:
Oct 23, 2016, 8:29:46 PM (8 years ago)
Author:
ertl-honda
Message:

マクロ名を更新.
実行モデルを変更.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/examples/NCESCan/r2ca_app.cpp

    r255 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22
    33// demo: CAN-BUS Shield, receive data
     
    2525 *    MCP_RX1IF
    2626 */
    27 bool can_init_done = false;
    2827
    2928void setup()
     
    7372    CAN.attachInterrupt(CAN_INT_PIN, MCP2515_ISR);
    7473
    75     can_init_done = true;
    7674}
    7775
     
    114112}
    115113
    116 void task1_setup()
    117 {
    118     while(can_init_done == false){delay(10);}
    119 }
    120 
    121114unsigned char stmp[8][8] = {
    122115    {1, 2, 3, 4, 5, 6, 7, 8},
     
    132125unsigned char stmp1[8] =     {0, 1, 2, 3, 4, 5, 6, 7};
    133126   
    134 void task1_loop()
     127void loop1()
    135128{
    136129    int i, e;
Note: See TracChangeset for help on using the changeset viewer.