A Wetpaint Site
Sign in
to Wetpaint
Internet Explorer 6.0 is not supported. Please try
IE 8
or
Firefox
.
Intro to Phys Comp lo-fi camera
Home
Discussions
Photos
Videos
News
Updates
Droplets
Members
Sign in
or
//CODE
Page Versions
To-Dos
Key:
additions
deletions
Please select two page versions to compare - check the checkbox to the right of each version.
Showing 5 pages
Date/Time
Made By
Edit Note
Type
Scope
Compare
Nov 18 2007, 10:00 PM EST
little_ms_chewbacca
edit
50 words added
68 words deleted
Change:
// this is punctuation method, but isn't being really used as such?
// this will have to be turned into a proper array...
int sensor[4];
// array to hold the sensor valuesvoid setup() {
// initialize the serial port:
Serial.begin(9600); }void loop() {
if (Serial.available() > 0) {
View changes from previous version.
(Word count: 572)
Nov 18 2007, 9:58 PM EST
little_ms_chewbacca
edit
201 words added
Change:
println(gs1 + "\t" + gs2 + "\t" + gs3 + "\t" + gs4 + "\t" + gs5);
port.write(65);
serialCount = 0;
println();
}
}
-------------------------------------------------// ARDUINO code - eddie_serial_cnr_photocells2.pde// this displays for 5 photocells. // will work on one for 64.int sensor[4]; // array
View changes from previous version.
(Word count: 598)
Nov 18 2007, 3:52 PM EST
little_ms_chewbacca
edit
216 words added
Change:
// read one of the sensors, divide by 4, put into the array:
sensor[i] = analogRead(i);
// if the value is 255, truncate it so we can use 255
// as a unique value to punctuate the sentence:
if (sensor[i] == 255) {
sensor[i] = 254;
}
Serial.print("Sensor
View changes from previous version.
(Word count: 385)
Nov 18 2007, 3:52 PM EST
little_ms_chewbacca
edit
85 words added
Change:
// eddie code. this reveals a baby face when mouse 8x8 cursor
// moves over it. will work on more accurate representation.
void setup() {
size(640,640);
background(250,200,100);
}
//
void draw() {
fill(255);
noStroke();
// stroke(0);
//strokeWeight(1);
// rectMode(CENTER);
rect(mouseX,mouseY,64,64);
noFill();
stroke(250,200,100); //change back to bg color!
strokeWeight(1);
arc(width/2+10,height/2+15,9,4,PI,PI/2);
arc(width/2-10,height/2+15,9,4,PI,PI/2);
View changes from previous version.
(Word count: 166)
Nov 18 2007, 1:31 PM EST
little_ms_chewbacca
create
No content added or deleted.
Change:
Created by
little_ms_chewbacca
Nov 18 2007, 1:31 PM EST for: no reason given
JavaScript must be enabled in order for you to contribute to this site.
To start contributing, enable JavaScript by changing your browser options, then
try again
.
Home
HOTT links
//CODE
le shedule
Misc. thoughts
new page
(Uncategorized)