Tactile Push Button – 7mm

(49 customer reviews)

$0.99

173 in stock

Description

Tactile buttons are great way to add interactive elements to all sorts of projects. The pins fit directly into a breadboard.

Tactile Push Button Code


/* SETUP

Button         Arduino
S       -      D2
        -      5V
-       -      GND
*/
 
// set pin numbers
const int buttonPin = 2;    // the number of the pushbutton pin
const int ledPin =  13;   // the number of the LED pin

// changing variables
int buttonState = 0;    // variable for reading the pushbutton status

void setup() {
  pinMode(ledPin, OUTPUT);    // initialize the LED pin as an output
  pinMode(buttonPin, INPUT);    // initialize the pushbutton pin as an input
}

void loop() {
  buttonState = digitalRead(buttonPin);   // read the state of the pushbutton value
  
  if (buttonState == HIGH) {    // if button is pressed, the buttonState is HIGH
    digitalWrite(ledPin, HIGH);   // turn LED on
  } else {
    digitalWrite(ledPin, LOW);    // turn LED off
  }
}

 

  1. Qimzlj

    order cabergoline 0.5mg without prescription – premarin cheap buy alesse pills

  2. Blgfff

    гѓ—гѓ¬гѓ‰гѓ‹гѓі еЂ‹дєєијёе…Ґ гЃЉгЃ™гЃ™г‚Ѓ – гѓ—гѓ¬гѓ‰гѓ‹гѓі еЂ‹дєєијёе…Ґ гЃЉгЃ™гЃ™г‚Ѓ アジスロマイシン и–¬е±ЂгЃ§иІ·гЃ€г‚‹

  3. Gmnyrq

    г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ«гЃЇи–¬е±ЂгЃ§иІ·гЃ€г‚‹пјџ – г‚їгѓЂгѓ©гѓ•г‚Јгѓ«йЂљиІ©гЃЉгЃ™гЃ™г‚Ѓ г‚·г‚ўгѓЄг‚№ гЃ©гЃ“гЃ§иІ·гЃ€г‚‹

  4. Weakde

    гѓ—гѓ¬гѓ‰гѓ‹гѓі гЃ®иіје…Ґ – ドキシサイクリン жµ·е¤–йЂљиІ© アキュテイン гЃ®иіје…Ґ

  5. Cjozqg

    eriacta regret – eriacta cheer forzest row

  6. Kpmruy

    valif pills blue – order sinemet online cheap order sinemet 20mg for sale

  7. Ckbmth

    valif online shell – buy generic sinemet 10mg oral sinemet 10mg

  8. Fnicsu

    indinavir over the counter – confido oral order diclofenac gel online cheap

  9. Daniela

    Hi, just wanted too say, I loved thnis article.
    It was inspiring. Keep onn posting!

    Look aat my web sijte missavxxx.com

  10. Munpjk

    buy generic modafinil 200mg – order modafinil 100mg pill order epivir online

  11. Ghspxc

    purchase promethazine – how to get lincomycin without a prescription lincocin 500mg price

  12. Rfjfbp

    ivermectin for cov 19 – ivermectin 12 mg for humans for sale tegretol uk

  13. Sjxnbw

    buy prednisone 5mg without prescription – captopril online order buy capoten 25mg for sale

  14. Mvitxy

    cheap prednisone 10mg – order starlix 120 mg oral capoten

  15. Upttdl

    amoxicillin drug – buy generic ipratropium 100 mcg combivent buy online

  16. Qlyvts

    buy accutane 10mg for sale – buy generic zyvox buy linezolid pills

  17. Dbzklv

    azithromycin 250mg usa – oral tinidazole 300mg order nebivolol generic

  18. Yifawm

    where can i buy prednisolone – progesterone 200mg ca order prometrium 200mg online cheap

  19. Kmotqd

    buy lasix 40mg generic – betamethasone usa3 buy betamethasone 20gm for sale

  20. Sxpgar

    buy gabapentin 600mg without prescription – order anafranil without prescription sporanox 100 mg drug

  21. Doqikk

    order amoxiclav sale – brand augmentin 375mg buy cymbalta 40mg generic

  22. Ggkufv

    acticlate canada – buy doxycycline online order glucotrol 10mg pills

  23. Zzwwiz

    buy cheap augmentin – buy cymbalta generic order duloxetine 40mg online

  24. Tpgxyr

    semaglutide order online – buy periactin without prescription cyproheptadine us

  25. Idcuri

    purchase tizanidine for sale – buy hydrochlorothiazide 25mg generic hydrochlorothiazide 25 mg cost

  26. Wtrxsd

    buy tadalafil 20mg sale – order cialis 5mg online cheap sildenafil uk

  27. Ubryoe

    viagra 50mg pills for men – generic sildenafil generic tadalafil

  28. Vpkphe

    lipitor 20mg for sale – purchase norvasc without prescription zestril 2.5mg uk

  29. Zsxthg

    lipitor over the counter – buy lisinopril 5mg for sale order lisinopril 2.5mg generic

  30. Jlodls

    order prilosec generic – tenormin 100mg oral atenolol us

  31. Myutwx

    buy depo-medrol for sale – buy pregabalin 150mg without prescription buy triamcinolone 4mg without prescription

  32. Wtsgce

    brand desloratadine – clarinex where to buy order generic dapoxetine 90mg

  33. Vlvmzy

    misoprostol for sale online – purchase xenical online order diltiazem 180mg pill

  34. Ikyaag

    zovirax buy online – zovirax 800mg without prescription rosuvastatin canada

  35. Nggqmt

    buy domperidone online – buy generic tetracycline flexeril 15mg uk

  36. Tpgeuq

    domperidone 10mg usa – sumycin 250mg us cyclobenzaprine 15mg pill

  37. Tscyaw

    order inderal for sale – inderal 10mg ca buy methotrexate sale

  38. Stephania

    Marvelous, whaat a webpage it is!This blog presents helpful
    datfa too us, keepp iit up.

    Also visit mmy web site :: xnxx

  39. Aqgbli

    warfarin canada – order cozaar 50mg without prescription cozaar where to buy

  40. Tchkxh

    nexium cheap – generic topamax 200mg buy imitrex 50mg generic

  41. Enriqueta

    Hello there! This is my first comment here so I just wanted to give a quick shout out and say I really enjoy reading through your blog posts.
    Can you recommend any other blogs/websites/forums that
    go over the same subjects? Thanks a ton!

    Feel free to visit my web site nordvpn coupons inspiresensation, http://shorter.me/,

  42. Jurgen

    I have read so many posts about the blogger lovers except this
    article is really a nice piece of writing, keep it up.

    Take a look at my blog post … nordvpn coupons inspiresensation

  43. Rob

    Thanks for sharing your thoughts. I really appreciate your efforts and I
    will be waiting for your next write ups thank you once again.

    Also visit my web blog – nordvpn coupons inspiresensation

  44. Steven

    We are a gaggle of volunteers and starting a brand new scheme in our community.
    Your website offered us with valuable info to work on. You’ve done an impressive activity and
    our whole group might be thankful to you.

    Here is my homepage: nordvpn coupons inspiresensation (t.co)

  45. Marcela

    nordvpn promotion 350fairfax

    Now I am going to do my breakfast, once having my
    breakfast coming yet again to read more news.

  46. Pqvfil

    order zofran pills – order spironolactone 100mg generic buy zocor online

  47. Mohammed

    This paragraph is actually a good one it assists new net people, who are wishing
    in favor of blogging.

    Also visit my web page – vpn

  48. Kenneth

    whoah this blog is magnificent i like reading your articles.
    Keep up the good work! You realize, a lot of people are hunting around for this information, you can aid them greatly.

    Stop by my homepage Vpn

  49. Louella

    We absolutely love your blog and find nearly all of your
    post’s to be exactly what is vpn stand for I’m
    looking for. can you offer guest writers to write content
    available for you? I wouldn’t mind publishing a post or elaborating
    on a few of the subjects you write regarding here.
    Again, awesome web log!

Add a review

Your email address will not be published. Required fields are marked *