Ok so lets say I use a voltage divider and the Vout is 1.2 volts.
// set the LED using the state of the button: digitalWrite(ledPin, buttonState);
// toggle the LED using the state of the button:if (lastButtonState != buttonState) digitalWrite(ledPin, !digitalRead(ledPin));
How can I do this with arduino?
@hunter2379 - why do you post a question and then lock the thread?Unlocked.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16