Skip to content

Commit f1de644

Browse files
author
brentru
committed
switch orientation feed name -> cubeTask
1 parent 052ed53 commit f1de644

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/adafruitio_24_zapier/adafruitio_24_zapier.ino

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
// I2C
3939
Adafruit_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
4545
AdafruitIO_Feed *cubeminutes = io.feed("cubeminutes");
@@ -66,7 +66,6 @@ unsigned long currentTime;
6666
unsigned long prevTime;
6767
int seconds = 0;
6868
int minutes = 0;
69-
int prevMinutes = 0;
7069

7170
void 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

Comments
 (0)