const int pot = A0;
const int led = 11;

void setup() {
  // put your setup code here, to run once:
pinMode(pot, INPUT);
pinMode(led, OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
int val = analogRead(pot);
val = map(val, 0, 1023,  0, 255);
analogWrite(led, val);
}
$abcdeabcde151015202530fghijfghij