{"id":41,"date":"2007-03-26T16:07:58","date_gmt":"2007-03-26T21:07:58","guid":{"rendered":"http:\/\/itp.nyu.edu\/blogs\/bmy1\/2007\/03\/26\/midterm-further-documentation\/"},"modified":"2009-01-20T14:10:41","modified_gmt":"2009-01-20T21:10:41","slug":"midterm-further-documentation","status":"publish","type":"post","link":"https:\/\/yeeality.com\/blog\/2007\/03\/26\/midterm-further-documentation\/","title":{"rendered":"midterm further documentation"},"content":{"rendered":"<p><object width=\"400\" height=\"300\"><param name=\"allowfullscreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"movie\" value=\"http:\/\/vimeo.com\/moogaloop.swf?clip_id=2747787&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1\" \/><embed src=\"http:\/\/vimeo.com\/moogaloop.swf?clip_id=2747787&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1\" type=\"application\/x-shockwave-flash\" allowfullscreen=\"true\" allowscriptaccess=\"always\" width=\"400\" height=\"300\"><\/embed><\/object><br \/><a href=\"http:\/\/vimeo.com\/2747787\">dustroke<\/a> from <a href=\"http:\/\/vimeo.com\/yeeality\">ben yee<\/a> on <a href=\"http:\/\/vimeo.com\">Vimeo<\/a>.<\/p>\n<p><img decoding=\"async\" rel=\u201dlightbox-dustroke\u201d src=\"http:\/\/yeeality.com\/media\/still\/dustroke\/dustroke1.jpg\" width=\"400\"><br \/>\n<img decoding=\"async\" rel=\u201dlightbox-dustroke\u201d src=\"http:\/\/yeeality.com\/media\/still\/dustroke\/dustroke2.jpg\" width=\"400\"><br \/>\n<img decoding=\"async\" rel=\u201dlightbox-dustroke\u201d src=\"http:\/\/yeeality.com\/media\/still\/dustroke\/dudave.jpg\" width=\"400\"><br \/>\n<img decoding=\"async\" rel=\u201dlightbox-dustroke\u201d src=\"http:\/\/yeeality.com\/media\/still\/dustroke\/dubob.jpg\" width=\"400\"><br \/>\n<img decoding=\"async\" rel=\u201dlightbox-dustroke\u201d src=\"http:\/\/yeeality.com\/media\/still\/dustroke\/duben.jpg\" width=\"400\"><\/p>\n<p>working code:<\/p>\n<blockquote><p>\nint irSensor = 0; \/\/analog ir sensor pin<br \/>\nint irValue = 0; \/\/analog ir sensor value<br \/>\nint LED = 7; \/\/standard LED<\/p>\n<p>void setup()<br \/>\n{<br \/>\nSerial.begin(9600);\/\/ start serial port at 9600 bps:<br \/>\npinMode(LED, OUTPUT);<br \/>\n}<br \/>\nvoid loop()<br \/>\n{<br \/>\n\/\/read analog value from the IR detector<br \/>\nirValue = analogRead(irSensor);<br \/>\n\/\/Serial.println(irValue, DEC); \/\/ Print the DEC of sensor<br \/>\n\/\/delay(100); NO DELAY FOR A STROBE<br \/>\n\/\/analogWrite(LED, irValue);<br \/>\nif (irValue &gt; 400) {<br \/>\ndigitalWrite(LED, HIGH);<br \/>\n}<br \/>\nelse {<br \/>\ndigitalWrite(LED, LOW);<br \/>\n}<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dustroke from ben yee on Vimeo. working code: int irSensor = 0; \/\/analog ir sensor pin int irValue = 0; \/\/analog ir sensor value int LED = 7; \/\/standard LED void setup() { Serial.begin(9600);\/\/ start serial port at 9600 bps: pinMode(LED, OUTPUT); } void loop() { \/\/read analog value from the IR detector irValue = [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[21],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-pcomp","tag-dustroke"],"_links":{"self":[{"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":5,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/posts\/41\/revisions\/686"}],"wp:attachment":[{"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yeeality.com\/blog\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}