This file contains hidden or 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
| /* 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). |
This file contains hidden or 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
| module rocket () { | |
| $fn = 100; | |
| rocket_diameter = 5; | |
| rocket_length = 50; | |
| rocket_nose_cone_length = 10; | |
| rocket_num_fins = 3; | |
| rocket_fin_length = 10; |
NewerOlder