LED Fading using Potentiometer
by
STEMpedia
Clone & Edit
Download
Edit
LED Fading using Potentiometer.ino
1
2
const
int
analogInPin
=
A0
;
// Analog input pin that the potentiometer is attached to
const
int
analogOutPin
=
3
;
// Analog output pin that the LED is attached to
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX