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
/* | |
Code created for reading shake switch sensor and turning on led based on threshold | |
This sensor has a default digital read | |
*/ | |
const int numReadings = 3; | |
int readings[numReadings]; // the readings from the analog input | |
int index = 0; // the index of the current reading | |
int total = 0; // the running total | |
int average = 0; // the average |
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
/* | |
Adafruit Arduino - Lesson 3. RGB LED | |
*/ | |
int redPin = 11; | |
int greenPin = 10; | |
int bluePin = 9; | |
const int buttonPin = 7; // the number of the pushbutton pin | |
int buttonState = 0; | |
int frq1 = 0; |
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
/* | |
RUAH | |
BODY AS A CENTER | |
Year 2012/2013 | |
BA/Graduation project | |
Product Design | |
Body as an object and dress as a second skin. | |
RUAH is an interactive corset controlled by Arduino. |
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
void setup() { | |
// put your setup code here, to run once: | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
} |
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
/* | |
* //////////////////////////////////////////////////// | |
* /////Built from many people and their hard work///// | |
* //////////////////////////////////////////////////// | |
* Godzilla Room PIR Sensor attached to a Power Switch tail, | |
* detects movement with the room, turns on the lights, | |
* tweets to https://twitter.com/T1GodzillaRoom | |
* Uses Arduino UNO, Ethernet Shield, and Power Switch Tail. | |
* //////////////////////////////////////////////////// | |
* //making sense of the Parallax PIR sensor's output// |
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
/* | |
Date Last Modified: 08/19/2012 | |
By: Jim Mayhugh | |
LCD and Web Temperature monitor utilizes Dallas Semiconductor / Maxim DS18B20 | |
One-Wire Digital Temperature sensors to monitor multiple containers, coolers, etc. | |
The temperatures are available from a various LCD displays and by accessing a small | |
text based web page generated in response to a "GET" command. |
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
/* | |
Repeatedly ping a number of servers and output the response to serial and pins 2,3,4 | |
pin 2: ping request sent | |
pin 3: ping response received | |
pin 4: ping response not received | |
This software requires the ICMPPing library, available at | |
http://www.blake-foster.com/projects/ICMPPing.zip |
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
/********** ITDB02 Networked Temperature ********** | |
This program requires the ITDB02_Graph16 library. | |
It uses the OneWire Library and an Arduino-compatable | |
ethernet shield The display can be used with small or | |
large fonts, and in portrait or landscape mode. | |
The OneWire runs on digital pin 9 to avoid a conflict | |
with the LCD software. | |
**************************************************/ |
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
//Cliff Bargar 2/14/12 | |
//CHB RC car | |
//Based on code by Will Langford | |
int input; | |
char serialIn; | |
const int forward = 9; | |
const int backward = 10; | |
const int left = 11; | |
const int right = 12; |