Skip to content

Instantly share code, notes, and snippets.

View dantiel's full-sized avatar

dantiel

View GitHub Profile
@dantiel
dantiel / sketch_jun03_raven.ino
Created June 20, 2019 02:38
Arduino sketch for controlling ornitoptera using KST-320 servos
//Arduino servo flap system
//copyright Steve Morris 10-25-16
#include <DigitalServo.h>
#include <PPMReader.h>
#include <InterruptHandler.h>
int interruptPin = 2;
int channelAmount = 6;
#!/usr/bin/env sh
GREEN=`echo '\033[32m'`
LIGHTGREEN=`echo '\033[92m'`
RED=`echo '\033[31m'`
LIGHTRED=`echo '\033[91m'`
CYAN=`echo '\033[36m'`
LIGHTCYAN=`echo '\033[96m'`
BLUE=`echo '\033[94m'`
YELLOW=`echo '\033[93m'`
@dantiel
dantiel / routes.coffee
Last active October 15, 2017 17:59
Lightweight React Routing Class
# A convenient custom routing class.
class Routes
@host: 'http://hostname.com'
# Holds routes that will further be created via `Routes.create`.
@routes: []
# Exclude these keys from creating child routes as they are objects that are
# in use for definition of the route.