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
int ledState = LOW; | |
const int ledPin = 13; | |
unsigned long previousMillis = 0; | |
const long interval = 1000; | |
void setup() { | |
pinMode(ledPin, OUTPUT); | |
} |
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
/* | |
WebsServer com nodemcu | |
Utilizado: Nodemcu, Led | |
Autor: Yhan Christian Souza Silva - Data: 03/08/2017 | |
*/ | |
// --- Bibliotecas Auxiliares --- | |
#include <ESP8266WiFi.h> |
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
/* WebServer com NodeMCU e AJAX | |
Utilizado: NodeMCU, sensor de tempratura LM35 | |
Autor: Yhan Christian Souza Silva - Data: 21/07/2018 | |
*/ | |
// -- Bibliotecas Auxiliares -- | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> |
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
/* | |
Nodemcu e AdafruitIO | |
Hardware Utilizado: Nodemcu v1.0, Thermistor e LED | |
Autor: Yhan Christian Souza Silva - data: 25/11/2017 | |
*/ | |
// -- Bibliotecas auxiliares -- | |
#include <ESP8266WiFi.h> | |
#include <Thermistor.h> |
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
/* Projeto Automação residencial com Cayenne | |
Utilizado: NodeMCU, módulo relé 2 canais e lâmpadas de LED AC | |
Autor: Yhan Christian Souza Silva - Data: 04/08/2018 | |
*/ | |
// -- Bibliotecas Auxiliares -- | |
#include <ESP8266WiFi.h> | |
#include <CayenneMQTTESP8266.h> |
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
/* | |
Controlando NodeMCU com Node-RED via MQTT | |
Hardware Utilizado: Nodemcu v1.0, LDR, LED | |
Autor: Yhan Christian Souza Silva - data: 05/08/2018 | |
*/ | |
// -- Bibliotecas Auxiliares -- | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> |