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

    r255 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22#include "ESP8266.h"
    33#include "Milkcocoa.h"
     
    2222
    2323extern void onpush(DataElement *elem);
    24 
    25 bool setup_done = false;
    2624
    2725void setup()
     
    9189    myservo.attach(2);
    9290   
    93     setup_done = true;
    9491    Serial.println("setup end\r\n");
    9592}
     
    147144
    148145
    149 /*
    150  *  For TASK1
    151  */
    152 void task1_setup() {
    153     while(!setup_done) {
    154         delay(1);
    155     }
    156     Serial.println("Servo Task : start");
    157 }
    158 
    159 void task1_loop() {
     146void loop1() {
    160147    int8_t ret;
    161148    while((ret = milkcocoa.loop(1)) != 0) {
Note: See TracChangeset for help on using the changeset viewer.