CTRL+V Game v5

Author Topic: CTRL+V Game v5  (Read 70545 times)

wow once again
it's /u/twitch-plays-pokemon

[3:23:24 PM] Codex Obscura: Siberian you can come work with my log any time

Don't tell the furry skype chat you were just cutting and sanding wood

Again, I don't have anything on my clipboard so SnippngTool++ time.






tfw you have gta IV but can't launch it because broken live pc support




no, this is not a random post, it's actually my clipboard


connect lod.ash47.net:27016

https://twitter.com/only_fripSide/status/586546331763642368

Again, I don't have anything on my clipboard so SnippngTool++ time.
You don't have to say this every time you post.
« Last Edit: April 10, 2015, 05:51:29 PM by ·::Kishgal::· »



/*
Adafruit Arduino - Lesson 15. Bi-directional Motor
*/
 
int enablePin = 11;
int in1Pin = 10;
int in2Pin = 9;
int switchPin = 7;
int potPin = 0;
 
void setup()
{
  pinMode(in1Pin, OUTPUT);
  pinMode(in2Pin, OUTPUT);
  pinMode(enablePin, OUTPUT);
  pinMode(switchPin, INPUT_PULLUP);
}
 
void loop()
{
  int speed = brown townogRead(potPin) / 4;
  boolean reverse = digitalRead(switchPin);
  setMotor(speed, reverse);
}
 
void setMotor(int speed, boolean reverse)
{
  brown townogWrite(enablePin, speed);
  digitalWrite(in1Pin, ! reverse);
  digitalWrite(in2Pin, reverse);
}