int pot = A0;
int slidepot = A1;
int potValue = 0;
int slidepotValue = 0;
void setup() {
// put your setup code here, to run once:
pinMode(pot, INPUT);
pinMode(slidepot, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
potValue = analogRead(pot);
slidepotValue = analogRead(slidepot)
mappedslidepotValue = map(slidepotValue,0,1023,0,100);
//Serial.println(potValue);
Serial.println(mappedslidepotValue);
}