No problem now but for those that didn't know, do not expect an arduino out right out of the protective wrapper to be "Default". I was trying this simple code and the readings were not changing much.
Adding analogReference(DEFAULT);
made the difference.
Very important to know if you use analog inputs.
I was just checking out something before I use it in other code.
int potin = A1;
int potread;
int mappedpot;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
analogReference(DEFAULT);
}
void loop() {
// put your main code here, to run repeatedly:
potread = analogRead (potin);
mappedpot = map(potread, 0, 1023, 100, 1);
Serial.print(potread);
Serial.print(" ");
Serial.println(mappedpot);
}