Changeset 260 for rtos_arduino/trunk/examples/PIXY_Wifi/r2ca_app.cpp
- Timestamp:
- Oct 23, 2016, 8:29:46 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/examples/PIXY_Wifi/r2ca_app.cpp
r255 r260 1 #include "r ca.h"1 #include "r2ca.h" 2 2 #include "ESP8266.h" 3 3 … … 9 9 #define WMODE_STATION 10 10 11 bool setup_done = false;11 extern void task1_setup(); 12 12 13 13 void setup() … … 89 89 Serial.print("setup end\r\n"); 90 90 91 setup_done = true;91 task1_setup(); 92 92 } 93 93 … … 199 199 void task1_setup() 200 200 { 201 // while(!setup_done) {202 // delay(1);203 // }204 201 Serial.print("PIXY Starting...\n"); 205 202 pixy.init(); … … 207 204 } 208 205 209 void task1_loop()206 void loop1() 210 207 { 211 208 static int i = 0;
Note:
See TracChangeset
for help on using the changeset viewer.