Skip to content

Instantly share code, notes, and snippets.

View modlfo's full-sized avatar

Leonardo Laguna Ruiz modlfo

View GitHub Profile
@modlfo
modlfo / lock_sensor.ino
Last active September 12, 2016 10:42 — forked from groupsky/lock_sensor.ino
Lock sensor
#include <ESP8266WiFi.h>
#define SENSORPIN 4 // what pin we’re connected to
// replace with your channel’s thingspeak API key,
String tsApiKey = "ENTER API KEY HERE";
String ddId = "ENTER ID HERE";
const char* ssid = "hackafe.org";
const char* password = "";