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
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
filter('trust', ['$sce',function($sce) { | |
return function(value, type) { | |
return $sce.trustAs(type || 'html', value); | |
} | |
}]); |
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
/* | |
DHT Weather server with display integrated for NodeMCU esp8266 and 1602A LCD | |
Please connect 1602A using I2C backpack. | |
If you feel display is not showing anything, please take a screwdriver and update contrast | |
using I2C potentiometer in back of LCD | |
LCD config | |
SDA pin - D2 | |
SCL pin - D1 |
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
/* | |
* This sketch demonstrates how to set up a simple HTTP-like server. | |
* The server will set a GPIO pin depending on the request | |
* http://server_ip/gpio/0 will set the GPIO2 low, | |
* http://server_ip/gpio/1 will set the GPIO2 high | |
* server_ip is the IP address of the ESP8266 module, will be | |
* printed to Serial when the module is connected. | |
*/ | |
#include <ESP8266WiFi.h> |