Your Browsing History



Description:
With reference program:
int sensor
Pin = A5; // select the input pin
int led
Pin = 13; // select the pin for the LED
int sensor
Value = 0; // variable to store the value coming from the sensor
void setup () {
pin
Mode (led
Pin, OUTPUT);
Serial. begin (9600);
}
void loop () {
sensor
Value = analog
Read (sensor
Pin);
digital
Write (led
Pin, HIGH);
delay (sensor
Value);
digital
Write (led
Pin, LOW);
delay (sensor
Value);
Serial. println (sensor
Value, DEC);
}
What's in the Package: