Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WSU English Symposium on Steampunk

956 views

Published on

  • Be the first to comment

  • Be the first to like this

WSU English Symposium on Steampunk

  1. 1. How to Historicize with a Hammer: Steampunk & Critical Making @RogerWhitson Wash State U 21 Feb 2014 12:10-1pm Bundy Room http://bit.ly/1eJqXh2
  2. 2. http://bit.ly/1j9Caef
  3. 3. http://bit.ly/1eOfPh0
  4. 4. http://bit.ly/1oONIa7
  5. 5. Recursive History http://bit.ly/Mb19S8
  6. 6. Palimpsest Materiality http://bit.ly/1ff3B lZ
  7. 7. http://bit.ly/1imEXQv
  8. 8. http://bit.ly/1atYSY8
  9. 9. http://bit.ly/1e5oQly
  10. 10. http://bit.ly/1c1LgEu
  11. 11. http://bit.ly/1ff033c
  12. 12. { // start main loop myservo. write (pos); // set servo speed/direction to the value of pos variable tbuttonState = digitalRead (topButton); // read the state of the top button bbuttonState = digitalRead (bottomButton); // read the state of the bottom button if (bbuttonState == HIGH ) // if top button pressed {newParameters(85, 93);} //calculate a speed in other direction if (tbuttonState == HIGH ) // if bottom buttom pressed {newParameters(96, 103);} //calculate a speed in other direction timer +=10; // increment timer value by 10 if (timer >= stoptime) //if run time limit is reached, { myservo. write (95); //stop servo newParameters(80, 105); //compute new parameters delay (randpause); // pause for a random time } delay (100); // pause for 100 milliseconds if ( pos < 97) { digitalWrite (led2, HIGH );} else { digitalWrite (led2, LOW ); } //power on led2 //power off led2 if ( randpause > 2000) { digitalWrite (led3, HIGH );} else { digitalWrite (led3, LOW ); } if ( timer > 90) { digitalWrite (led1, HIGH );} else { digitalWrite (led1, LOW ); } } // end main loop void newParameters( int hi, int lo) // function to calculate new speed/direction, time and pause { pos = random (hi, lo); //generate new speed/direction, within hi and lo limits randpause = random (1000, 5000); // generate random pause between 1 and 5 seconds pause = 100; timer = 0; //set timer to zero stoptime = random (50, 200); // generate random time to run servo }
  13. 13. http://bit.ly/Mb0397
  14. 14. Thanks! @rogerwhitson rogerwhitson.net

×