trying piece together from other code.. I don't think im referencing my values correctly when trying to do the serial.print.
am I even close?
/*
- SerialOutput sketch
- Print numbers to the serial port
*/
void setup()
{
Serial.begin(9600); // send and receive at 9600 baud
}
int potPin = 2; // select the input pin for the potentiometer
int val2 = 0; // variable to store the value coming from the sensor
int potPin = 3; // select the input pin for the potentiometer
int val3 = 0; // variable to store the value coming from the sensor
int potPin = 4; // select the input pin for the potentiometer
int val4 = 0; // variable to store the value coming from the sensor
void loop()
{
val = analogRead(potPin); // read the value from the sensor
Serial.print("stxHPI:(val2),(val3),(val4)");
}