sciguy14_Arduino-Tutorial-Series/09 Wireless Communication/programs/pot_arduino/pot_arduino.pde
//Program by Jeremy Blum
//www.jeremyblum.com
//Send data from a POT over serial to the computer

//Define Pins
int potPin = 0;

void setup()
{
  //Create Serial Object (9600 Baud)
  Serial.begin(9600);
}

void loop()
{
  int val = map(analogRead(potPin), 0, 1023, 0, 9);
  Serial.println(val);
  delay(50);
  
}
