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
// | |
// SoftwareWire.cpp | |
// Library C++ code | |
// ---------------------------------- | |
// Developed with embedXcode | |
// http://embedXcode.weebly.com | |
// | |
// Project embed1 | |
// | |
// Created by Rei VILO, mars 29, 2013 09:59 |
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
// Create a data stream at data.sparkfun.com, then enter your keys here: | |
local publicKey = "xx" // enter public key here | |
local privateKey = "xx" // enter private key here | |
data_array <- array(800,[0,0,0,0]) | |
total <- 0 | |
conversion <- 4.95/476 | |
local req = http.get("https://data.sparkfun.com/output/"+o_publicKey+"/latest.json"); |
NewerOlder