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/PIXY_Wifi/r2ca_app.cpp

    r255 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22#include "ESP8266.h"
    33
     
    99#define WMODE_STATION
    1010
    11 bool setup_done = false;
     11extern void task1_setup();
    1212
    1313void setup()
     
    8989    Serial.print("setup end\r\n");
    9090
    91     setup_done = true;
     91    task1_setup();
    9292}
    9393
     
    199199void task1_setup()
    200200{
    201 //    while(!setup_done) {
    202 //        delay(1);
    203 //    }   
    204201    Serial.print("PIXY Starting...\n"); 
    205202    pixy.init();
     
    207204}
    208205
    209 void task1_loop()
     206void loop1()
    210207{
    211208    static int i = 0;
Note: See TracChangeset for help on using the changeset viewer.