This file contains hidden or 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
/* | |
Blinking LEDs | |
Turns some LEDs on for one second, then off for one second, repeatedly. | |
This example code is in the public domain. | |
Inspired by | |
http://www.arduino.cc/en/Tutorial/Blink | |
*/ |
This file contains hidden or 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
// ArduinoISP | |
// Copyright (c) 2008-2011 Randall Bohn | |
// If you require a license, see | |
// http://www.opensource.org/licenses/bsd-license.php | |
// | |
// This sketch turns the Arduino into a AVRISP using the following Arduino pins: | |
// | |
// Pin 10 is used to reset the target microcontroller. | |
// | |
// By default, the hardware SPI pins MISO, MOSI and SCK are used to communicate |
This file contains hidden or 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
#include "WiFiTask.h" | |
#include "FS.h" | |
#include "CloudTask.h" | |
#include <cstring> | |
static const char WIFINETS_JSON_FILE[] PROGMEM = "/conf/wifinets.json"; | |
WiFiTask::WiFiTask() : Task(), lastCheck(TimeKeeper::tkNow()), firstRun(true) { | |
} |
This file contains hidden or 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
#include <ArduinoJson.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> | |
#include <ESP8266mDNS.h> | |
#include <cmath> | |
#include "sensor_calibration.h" | |
#include "SensorTask.h" | |
#include "ServerTask.h" | |
#include "CloudTask.h" | |
#include "WiFiTask.h" |