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
// set pin numbers: | |
const int buttonPin1 = 6; // the number of the pushbutton pin | |
const int ledPin1 = 11; | |
const int buttonPin2 = 3; // the number of the pushbutton pin | |
const int ledPin2 = 12; // the number of the LED pin | |
const int buttonPin3 = 2; // the number of the pushbutton pin | |
const int ledPin3 = 13; | |
const int buttonPin4 = 5; // the number of the pushbutton pin | |
const int buttonPin5 = 7; // the number of the pushbutton pin |
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
/* | |
This code is in the public domain. | |
*/ | |
#include <SPI.h> | |
#include <Ethernet.h> | |
//#include <EthernetDNS.h> // only for IDE 0022 or earlier | |
#include <Twitter.h> |
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
/* | |
CameraSweep.ino is an adaption of the sweep example sketch for use with the timesprint app. | |
Writen by Julian Gouldinng | |
*/ | |
#include <Servo.h> | |
Servo myservo; // create servo object to control a servo | |
// twelve servo objects can be created on most boards |
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
import processing.video.*; | |
Capture video; | |
PImage prevFrame; | |
float threshold = 150; | |
int Mx = 0; |