Skip to content

Instantly share code, notes, and snippets.

@simonliu009
simonliu009 / esp8266_pubsubclient.ino
Last active January 7, 2019 14:00 — forked from igrr/esp8266_pubsubclient.ino
Arduino:PubSubClient sample for ESP8266 Arduino #MQTT #Arduino
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
const char* ssid = ".................";
const char* password = "................";
char* topic = "esp8266_arduino_out";
char* server = "iot.eclipse.org";
@simonliu009
simonliu009 / yunfile_downloader
Last active January 7, 2019 13:59
Python: A python script #python #yunfile
#!/usr/bin/env python
# encoding: utf-8
"""
@version: 0.3
@author: endoffiht
@file: yunfile_downloader.py
@time: 15/6/29 18:06
"""