Skip to content

Instantly share code, notes, and snippets.

View cfaulkingham's full-sized avatar

Colin Faulkingham cfaulkingham

View GitHub Profile
@cfaulkingham
cfaulkingham / TempHumidityPrinter.pde
Created August 25, 2011 23:54
Temp Humidity Printer
/*
TempHumidityPrinter
(c) Colin Faulkingham 2011 - MIT license
Sparkfun Thermal Printer http://www.sparkfun.com/products/10438
Adafruit DHT11 Temp and Humidy Sensor https://www.adafruit.com/products/386
Sparkfun 16x2 LCD display http://www.sparkfun.com/products/9761
Arduino UNO SMD http://www.sparkfun.com/products/10356
@cfaulkingham
cfaulkingham / drawbotVisual.pde
Created September 19, 2011 18:36
Drawbot Visual point viewer
/**
* used to visualize the points for drawbot in processing.
* Colin Faulkingham
* http://processing.org/
* replace your moveTo()'s with ellipse()
*/
void setup() {
size(800, 400);
noStroke();
@cfaulkingham
cfaulkingham / frogger.pde
Created October 11, 2011 01:25
Code for adding joystick support to the Gameduino Frogger game.
class Controller {
public:
void begin() {
byte i;
for (i = 3; i < 7; i++) {
pinMode(i, INPUT);
digitalWrite(i, HIGH);
}
prev = 0;
}
@cfaulkingham
cfaulkingham / Select_to_Html.js
Created April 6, 2012 14:58
Convert Select ELement's to Dropdown group
/*!
* Convert <select> elements to Dropdown Group
*
* Author: John Rocela 2012 <[email protected]>
* Update: Fixed issue with selected showing value instead of text Colin Faulkingham <[email protected]> 2012
*/
jQuery(function($){
$('select').each(function(i, e){
if (!($(e).data('convert') == 'no')) {
$(e).hide().wrap('<div class="btn-group" id="select-group-' + i + '" />');
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
// This configuration file contains the basic settings.
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//===========================================================================
//============================= DELTA Printer ===============================
//===========================================================================