How can I make delay speed because blynk with the slider has no analog pins
I want to take the code
int sensorPin = A0; // Analog input pin to pot
int ledPin = 7; // PWM pin to LED
int sensorValue = 0; // variable to store pot value
void setup() {
// declare the ledPin as an OUTPUT:
pinMode(ledPin, OUTPUT);
}
void loop() {
// read the value from the sensor:
sensorValue = analogRead(sensorPin);
// turn the ledPin on
digitalWrite(ledPin, HIGH);
// stop the program for <sensorValue> milliseconds:
delay(sensorValue);
// turn the ledPin off:
digitalWrite(ledPin, LOW);
// stop the program for for <sensorValue> milliseconds:
delay(sensorValue);