Using Manitou's suggestions.. I'm getting 1's with A0 grounded to analog ground, and 1022 when connecting A0 to the 3.3v on the Teensy. Values are solid with no jitter.
Reconnecting the Pot.. this time grounding to the Teensy's analog ground, I get values ranging from 2-999
Code:
void setup() {
// put your setup code here, to run once:
#define knob 14
Serial.begin(9600);
Serial.println("Knob input");
}
int val;
void loop() {
// put your main code here, to run repeatedly:
int val = analogRead(knob);
//val = map(val,25,1011,1000,10000);
Serial.print("Knob Value:");
Serial.println(val);
delay(2);
}
There's also a fair bit of jitter noise in the values coming of the pot.