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

    r258 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22
    33#define SERVO
    44//#define ULTRASONIC
    55//#define LCD_ULTRASONIC
    6 //#define LCD_ULTRASONIC_SERVO  /* define RCA_NUM_TASK as 1 */
     6//#define LCD_ULTRASONIC_SERVO  /* define R2CA_NUM_TASK as 1 */
    77
    88#ifdef SERVO
     
    9191Ultrasonic ultrasonic(3);
    9292
     93extern void task1_setup();
     94
    9395void setup()
    9496{
     
    102104        Serial.println(" cm");
    103105        delay(250);
     106
     107        task1_setup();
    104108}
    105109
     
    188192}
    189193 
    190 void task1_loop()
     194void loop1()
    191195{
    192196  for(pos = 0; pos <= 180; pos += 1) // goes from 0 degrees to 180 degrees
Note: See TracChangeset for help on using the changeset viewer.