//Nama    : Rizqi Fahmi Ilmi
//NIM     : 52004110023
//Prodi   : Informatika/8C
//Matkul  : Proyek Teknologi Informasi

const int LED = 16;      
const int PWM = 33;   
int val = 0; 

void setup() {
  Serial.begin(115200);
  pinMode(LED, OUTPUT);  
}

void loop() {
  val = analogRead(PWM); 
  analogWrite(LED, val / 4);
  Serial.println(val);
}

//@Rymutich '_' Ojo Lupa Ngopi