#define Pot A0
#define LED 11

int dtAnalog ;
byte hslMap ;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  pinMode(LED, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  dtAnalog = analogRead(Pot);
  Serial.print("Data Potesiometer: ");
  Serial.println(dtAnalog);
  
  hslMap = map(dtAnalog,0,1023,0,225);
  analogWrite(LED, hslMap);
  delay(20);
}