Created
May 29, 2016 06:13
-
-
Save chaeplin/931c7e5b4d6e993c93acae85cfd6e136 to your computer and use it in GitHub Desktop.
for_kozoke.ino
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 <ESP8266WiFi.h> | |
#include <ESP8266Ping.h> | |
#include <PubSubClient.h> | |
#include <Average.h> | |
#include <pgmspace.h> | |
#include <Wire.h> | |
#include <ESP8266mDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
//#include "/usr/local/src/ap_setting.h" // comment out this line | |
// add following and change values | |
#define WIFI_SSID "WIFI_SSID_CHAGE_THIS" | |
#define WIFI_PASSWORD "WIFI_PASS_CHAGE_THIS" | |
#define MQTT_SERVER { 192, 168, 10, 10 } // server ip of mgtt | |
#define OTA_PASSWORD "OTA_PASSWORD_CHANGE_THIS" // OTA password | |
extern "C" { | |
#include "user_interface.h" | |
} | |
#define SYS_CPU_80MHz 80 | |
#define SYS_CPU_160MHz 160 | |
#define nemoisOnPin 14 | |
#define ledPin 13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment