- Timestamp:
- Oct 23, 2016, 8:29:46 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/examples/MultiTaskText/LEDBlink_CLEDBlink/r2ca_app.cpp
r255 r260 1 #include "r ca.h"1 #include "r2ca.h" 2 2 3 3 #include <ChainableLED.h> … … 5 5 #define LED_PIN 4 6 6 7 #define NUM_LEDS 1 8 ChainableLED leds(8, 9, NUM_LEDS); 9 7 10 void setup() { 8 11 pinMode(LED_PIN, OUTPUT); 12 13 leds.init(); 9 14 } 10 15 … … 16 21 } 17 22 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() { 23 void loop1() { 26 24 int i; 27 25 leds.setColorRGB(0, 250, 0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.