Created
October 1, 2015 08:00
-
-
Save harrisonhjones/48e229b0df2aee3a3d88 to your computer and use it in GitHub Desktop.
Particle IO - IFTTT Google Drive Spreadsheet Update Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IFTTT Google Drive Spreadsheet Update Example | |
// Use with https://ifttt.com/recipes/329485-update-a-spreadsheet-on-event use eventName "VOLTS" | |
// Author: Harrison Jones ([email protected]) | |
char message[180]; | |
void setup() {} | |
void loop() { | |
doublevolts = analogRead(A0) * 3.3 / 4096.0; | |
sprintf(message, "%f", volts); | |
Particle.publish("VOLTS", message); | |
delay(2000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment