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

    r255 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22
    33#include <ChainableLED.h>
     
    55#define LED_PIN 4
    66
     7#define NUM_LEDS 1
     8ChainableLED leds(8, 9, NUM_LEDS);
     9
    710void setup() {
    811  pinMode(LED_PIN, OUTPUT);
     12
     13  leds.init();
    914}
    1015
     
    1621}
    1722
    18 #define NUM_LEDS 1
    19 ChainableLED leds(8, 9, NUM_LEDS);
    20 
    21 void task1_setup() {
    22   leds.init();
    23 }
    24 
    25 void task1_loop() {
     23void loop1() {
    2624  int i;
    2725  leds.setColorRGB(0, 250, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.