Skip to content

Instantly share code, notes, and snippets.

andysheen

Block or report user

Report or block andysheen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ifttt_button.ino
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
// Change these to the WiFi credentials
#define WLAN_SSID "WIFINAME"
#define WLAN_PASS "PASSWORD"
#define BUTTON 4
void setup() {
View teensy_sd_card.ino
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
#define BUTTON 1
AudioMixer4 mixer1; // mixers to combine wav file and audio shield inputs
AudioMixer4 mixer2;
View blink.bin
View wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="YOURSSID"
psk="YOURPASSWORD"
scan_ssid=1
}
View tiltswitch_demo.ino
int tiltX = 9;
int tiltZ = 12;
int tiltY = 6;
void setup() {
// put your setup code here, to run once:
pinMode(13, OUTPUT);
digitalWrite(13, 0);
pinMode(tiltZ, INPUT_PULLUP);
pinMode(10, OUTPUT);
View capacitive_touch_demo.ino
int led1 = 10;
int led2 = 9;
int cap1_threshold = 2;
int cap2_threshold = 2;
void setup() {
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
Serial.begin(115200);
View naturewatch_RFID.cpp
/****************************************************************************************************
* rfiduino.h - RFIDuino Library Header File
* RFID transfer code modified from RFIDuino Library by TrossenRobotics / RobotGeek
*
****************************************************************************************************/
#include "Arduino.h"
#include "naturewatch_RFID.h"
View Adafruit_SSD1306.h
/*********************************************************************
This is a library for our Monochrome OLEDs based on SSD1306 drivers
Pick one up today in the adafruit shop!
------> http://www.adafruit.com/category/63_98
These displays use SPI to communicate, 4 or 5 pins are required to
interface
Adafruit invests time and resources providing this open source code,
View wiper_code.ino
#include <TimerOne.h>
// Motor 1
int delayDown = 6500;
int delayUp = 10000;
int dir1PinB = 6;
int dir2PinB = 5;
View LinedrawingTimelapse.py
#!/usr/bin/env python
import cv2
import imutils
from imutils.video.pivideostream import PiVideoStream
import numpy as np
import json
import time
import datetime
import os
You can’t perform that action at this time.