3838// I2C
3939Adafruit_LIS3DH lis = Adafruit_LIS3DH();
4040
41- // Set up the 'orientation ' feed
42- AdafruitIO_Feed *orientation = io.feed(" orientation " );
41+ // Set up the 'cubeTask ' feed
42+ AdafruitIO_Feed *cubetask = io.feed(" cubetask " );
4343
4444// Set up the 'minutes' feed
4545AdafruitIO_Feed *cubeminutes = io.feed(" cubeminutes" );
@@ -66,7 +66,6 @@ unsigned long currentTime;
6666unsigned long prevTime;
6767int seconds = 0 ;
6868int minutes = 0 ;
69- int prevMinutes = 0 ;
7069
7170void setup ()
7271{
@@ -157,7 +156,7 @@ void loop()
157156 tone (PIEZO_PIN, 650 , 300 );
158157 Serial.print (" Sending to Adafruit IO -> " );
159158 Serial.println (taskOne);
160- orientation ->save (taskOne);
159+ cubetask ->save (taskOne);
161160 // save minutes to a feed
162161 cubeminutes->save (minutes);
163162 // reset the timer
@@ -168,7 +167,7 @@ void loop()
168167 tone (PIEZO_PIN, 850 , 300 );
169168 Serial.print (" Sending to Adafruit IO -> " );
170169 Serial.println (taskTwo);
171- orientation ->save (taskTwo);
170+ cubetask ->save (taskTwo);
172171 // save minutes to a feed
173172 cubeminutes->save (minutes);
174173 // reset the timer
0 commit comments