#define LED_PIN 3
#define POTENTIOMETER_PIN A7
void setup() {
// put your setup code here, to run once:
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int potentiometerValue = analogRead (POTENTIOMETER_PIN);
int brightness = potentiometerValue / 4;
analogWrite (LED_PIN, brightness);
}