This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 =============================== | |
//=========================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* 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 + '" />'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Controller { | |
public: | |
void begin() { | |
byte i; | |
for (i = 3; i < 7; i++) { | |
pinMode(i, INPUT); | |
digitalWrite(i, HIGH); | |
} | |
prev = 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define VC0706_COLOR_CTRL 0x3C | |
// I also added the following under | |
//class VC0706 { | |
// public: | |
boolean setColorCtrl(uint8_t,uint8_t); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean VC0706::setColorCtrl(uint8_t showMode, uint8_t controlMode) { | |
uint8_t args[] = {0x02,controlMode,showMode}; | |
return runCommand(VC0706_COLOR_CTRL, args, 3, 5); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings = { | |
password: 'your_password', | |
user: 'your_user', | |
hostdb: 'your.server.address', | |
couchdbhttp: 'http://your_server_address', | |
couchdbhttpport: '5984' // couchdb default port | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (C) 2011 Colin Faulkingham, http://3a2d29.com/ | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Colin Faulkingham Drawbot Image Processing Code 2011 | |
* | |
*/ | |
import java.awt.*; | |
import java.awt.image.*; | |
import java.io.*; | |
import javax.imageio.*; |
NewerOlder