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
/* | |
* Drawbot.pde | |
*/ | |
#include <Servo.h> | |
Servo leftServo; | |
Servo rightServo; | |
int servoPinL = 9; |
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
#!/usr/bin/perl -w | |
# | |
# Simple Boxcar User Notification using Library for WWW in Perl (LWP) | |
# Author: mark page [m.e.page@voodoojello.net] | |
# Modified: Sun Dec 12 21:16:43 CST 2010 | |
# | |
# expects Boxcar user sign-up address, *not* push.boxcar.io address as $ARGV[0] | |
# | |
use strict; | |
use warnings; |
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
/** | |
* code to read one quadratic rotary encoder gray code. | |
* | |
* rights: http://tinyurl.com/by-sa-3-0 | |
*/ | |
int inputPin1 = 2; // A | |
int inputPin2 = 4; // B | |
int val1 = 0, val2 = 0; | |
int oldVal1 = 0, oldVal2 = 0; |
NewerOlder