Skip to content

Instantly share code, notes, and snippets.

@azend
azend / gist:4243348
Created December 9, 2012 04:42
Codeshield Example - Use the Force
/* Use the Force
Checks whether or not the user has the force by getting the light
value from photoresistor on the Codeshield and turns on the relay
if the user does in fact have the force. This code expects that
the relay is hooked into some other device to make a more resounding
force effect (such as a floor lamp).
The circuit:
* Photoresistor plugged into pin 5 (or soldered onto the Codeshield).
@azend
azend / rocket.scad
Created August 13, 2012 02:36
Simple Parametric Rocket (made with OpenSCAD)
module rocket () {
$fn = 100;
rocket_diameter = 5;
rocket_length = 50;
rocket_nose_cone_length = 10;
rocket_num_fins = 3;
rocket_fin_length = 10;