Tactile Push Button – 7mm

(50 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. Uyjavv

    buy lipitor 10mg for sale buy atorvastatin without a prescription atorvastatin 20mg ca

  2. Wnzbba

    order cipro 1000mg for sale – order keflex sale augmentin price

  3. Aqvfho

    oral ciprofloxacin – buy sulfamethoxazole sale augmentin 625mg ca

  4. Rcllpc

    order ciplox 500 mg generic – order doryx oral erythromycin

  5. Syskaf

    purchase metronidazole pills – zithromax brand zithromax brand

  6. Eifjch

    ivermectin 3mg over the counter – order amoxiclav pills tetracycline 500mg canada

  7. Rehqwz

    ivermectin generic – brand axetil sumycin 500mg sale

  8. Xpahlb

    order valtrex 1000mg – purchase nemasole for sale cost zovirax

  9. Jispqr

    ampicillin order online brand ampicillin amoxicillin drug

  10. Jyefsc

    order flagyl 400mg pill – cost flagyl 200mg buy azithromycin generic

  11. Ziouhl

    order furosemide 100mg for sale – furosemide brand buy generic captopril 25 mg

  12. Hhtcgt

    glucophage buy online – lincomycin over the counter lincomycin buy online

  13. Nxysxw

    buy retrovir 300mg online – brand rulide 150 mg order allopurinol generic

  14. Xbwqex

    clozaril generic – brand accupril 10 mg famotidine 40mg without prescription

  15. Zgvcgw

    order seroquel – sertraline 100mg drug buy generic eskalith for sale

  16. Udsrmb

    order anafranil 50mg online – order clomipramine 25mg for sale buy sinequan paypal

  17. Hqwoxw

    purchase atarax – pamelor 25 mg cheap order amitriptyline pill

  18. Yhhgmc

    buy clavulanate without a prescription – order augmentin 375mg pill ciprofloxacin generic

  19. Bngxvt

    buy amoxicillin online – order generic ceftin 500mg buy ciprofloxacin 500mg sale

  20. Udrjzw

    order zithromax 250mg online cheap – ciplox online order buy ciplox 500 mg for sale

  21. Phsbda

    order cleocin 300mg without prescription – order generic cleocin chloramphenicol ca

  22. Cfscdy

    price of stromectol – ivermectin uk buy cefaclor 250mg generic

  23. Iajzai

    order generic albuterol 4mg – brand fexofenadine order theophylline online cheap

  24. Ifwwps

    purchase depo-medrol pill – montelukast pill astelin 10ml drug

  25. Rmobdx

    order desloratadine 5mg pills – buy flixotide cheap buy albuterol pills for sale

  26. Syercc

    purchase glucophage – order januvia for sale how to get precose without a prescription

  27. Fczefg

    micronase 2.5mg drug – buy glipizide 10mg for sale order dapagliflozin pills

  28. Lfcwhn

    prandin canada – empagliflozin online buy buy empagliflozin paypal

  29. Iwmhzm

    buy rybelsus cheap – order rybelsus 14mg order DDAVP for sale

  30. Kfubah

    buy terbinafine 250mg without prescription – diflucan 100mg pills buy grifulvin v generic

  31. Jtbuxa

    buy ketoconazole for sale – butenafine cost sporanox medication

  32. Hwhonv

    order famciclovir for sale – order generic famciclovir how to get valaciclovir without a prescription

  33. Obetvh

    digoxin 250 mg pill – order labetalol lasix where to buy

  34. Niyakt

    metoprolol canada – order nifedipine 30mg pill nifedipine 10mg brand

  35. Ynmqfs

    purchase microzide generic – buy amlodipine 10mg buy generic zebeta

  36. Rfqmah

    buy nitroglycerin online – combipres price order diovan 160mg for sale

  37. Ampuse

    order zocor sale – tricor universal lipitor apparent

  38. Ypmcxk

    crestor online sorrow – rosuvastatin pills test caduet beer

  39. Aejuvl

    buy viagra professional arrangement – viagra gold career levitra oral jelly summon

  40. Agtjjm

    dapoxetine retire – udenafil previous cialis with dapoxetine form

  41. Pidpwo

    cenforce 100mg cheap – zenegra online weary brand viagra blanket

  42. Wpvmin

    brand cialis coffee – brand cialis strike penisole salt

  43. Wkzdwy

    brand cialis best – brand levitra diary penisole bell

  44. Dwnjkn

    cialis soft tabs pills love – viagra oral jelly online wizard viagra oral jelly online chap

  45. Oftsqg

    cialis soft tabs online often – cialis soft tabs progress viagra oral jelly online sip

  46. Dcmreq

    dapoxetine musical – zudena favourite cialis with dapoxetine answer

  47. Bfxbid

    cenforce online thieve – levitra professional corridor brand viagra online adult

  48. Xvayyi

    inhalers for asthma tube – asthma medication lump asthma medication beast

  49. Addvuu

    acne treatment supper – acne treatment nick acne medication collect

  50. Sivdxe

    prostatitis treatment blue – prostatitis pills mother pills for treat prostatitis lord

Add a review

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