Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Getting button to trigger on/off LED blinking
Post Body

So I have a project that I am tinkering with and one part needs to have a single button, upon first press, activate the flashing of an LED, and then the same button, upon second press, deactivate the flashing.

I already have the button and LEDS programmed to upon press, turn on, and when you stop pressing, it turns off. Just a button acting as a button.

I'm new at learning this and it's a small part in a grandiose project I am working on.

Thanks!

**Also, let me add, I've tried searching for an answer to this on my own, but haven't found a straightforward solution.

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
27,400
Link Karma
8,271
Comment Karma
14,734
Profile updated: 1 week ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago