IT Pro Camp Jax 2016
IoT devices collect lots of data
AWS and Azure both have Big Data
and Machine learning solutions
void setup() { }
void loop() { }
// Define the pins we're going to call pinMode on
int greenLed = D7;
// This routine runs only once upon reset
void setup() {
// Initialize D7 pin as output
// It's important you do this here, inside the setup() function rather than outside it or in the loop function.
pinMode(greenLed, OUTPUT);
}
// This routine gets called repeatedly, like once every 5-15 milliseconds.
// Spark firmware interleaves background CPU activity associated with WiFi + Cloud activity with your code.
// Make sure none of your code delays or blocks for too long (like more than 5 seconds), or weird things can happen.
void loop() {
digitalWrite(greenLed, HIGH);
delay(500); // Wait for 500mS = 1 second
digitalWrite(greenLed, LOW);
delay(500); // Wait for 1 second in off mode
}