Tactile Push Button with Cap – 12mm

(68 customer reviews)

$1.49

Clear

Description

Tactile buttons are great way to add interactive elements to all sorts of projects. The coloured cap is removable and 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
  }
}

 

Additional information

Weight 0.001 kg
Colour

, , , ,

  1. Advsnw

    order atorvastatin 80mg generic order atorvastatin pills cost lipitor 20mg

  2. Wdiebx

    order cipro online – buy keflex 125mg online cheap augmentin 1000mg generic

  3. Ctcjcw

    buy ciprofloxacin pill – cipro 500mg generic how to get augmentin without a prescription

  4. Gyuprm

    metronidazole uk – buy generic cefaclor purchase azithromycin online

  5. Wnowky

    ciprofloxacin 500 mg canada – doryx for sale order erythromycin 500mg for sale

  6. Exwzoq

    generic valacyclovir – order generic acyclovir 400mg zovirax 400mg over the counter

  7. Sfbjnq

    stromectol 6mg – buy sumycin pill sumycin canada

  8. Czigpw

    buy metronidazole 200mg pills – buy cleocin 300mg pill buy azithromycin sale

  9. Pycenp

    ampicillin order amoxil online buy amoxicillin generic

  10. Qblmav

    purchase furosemide sale – order generic furosemide 40mg captopril 25 mg oral

  11. Cvgvfh

    order glucophage 500mg for sale – how to get trimethoprim without a prescription lincocin 500 mg pills

  12. Ftxhlr

    how to get cheap retrovir without a prescription – where to buy lamivudine without a prescription zyloprim 100mg sale

  13. Jlacyr

    clozaril where to buy – accupril for sale online cost famotidine 20mg

  14. Wqlqwa

    buy generic seroquel for sale – luvox 50mg without prescription buy generic eskalith for sale

  15. Cwhswx

    anafranil 25mg canada – buy imipramine 25mg without prescription pill doxepin 75mg

  16. Nmspxj

    buy atarax 25mg online – brand escitalopram order endep 25mg online

  17. Omkplb

    order augmentin 1000mg online – ampicillin drug order generic baycip

  18. Fngnou

    amoxil for sale – buy cheap generic keflex ciprofloxacin buy online

  19. Bdknxj

    cleocin generic – buy chloramphenicol online cheap buy generic chloromycetin

  20. Totuph

    order azithromycin 250mg online – oral flagyl buy cheap generic ciplox

  21. Tugfuf

    stromectol online canada – doryx order online generic cefaclor 500mg

  22. Zeihnc

    order ventolin inhalator online – theophylline 400 mg uk purchase theophylline sale

  23. Ecdwrf

    purchase clarinex generic – zaditor 1mg brand cost ventolin 4mg

  24. Vpazqs

    buy generic medrol – buy azelastine 10ml nasal spray buy azelastine paypal

  25. Cqochp

    purchase glyburide online cheap – order micronase 5mg pills dapagliflozin over the counter

  26. Jeggib

    order repaglinide 1mg online – repaglinide 1mg over the counter empagliflozin order

  27. Jhskjf

    order metformin pills – cheap losartan 50mg order precose 25mg online cheap

  28. Nlugvi

    lamisil cheap – buy diflucan 200mg generic grifulvin v uk

  29. Lnxgjs

    semaglutide 14 mg for sale – order semaglutide pills buy DDAVP generic

  30. Hfsuro

    buy generic nizoral over the counter – buy mentax itraconazole us

  31. Ytyxzu

    famciclovir us – valcivir without prescription order valaciclovir 1000mg generic

  32. Cchgyy

    where to buy digoxin without a prescription – order irbesartan 150mg pill order furosemide 100mg online

  33. Exyajr

    buy microzide 25mg – buy plendil 10mg pills buy bisoprolol 10mg

  34. Bnqsqd

    buy metoprolol generic – order telmisartan 20mg buy adalat 10mg online cheap

  35. Gwvqwd

    nitroglycerin online – nitroglycerin uk buy diovan sale

  36. Noixeq

    simvastatin cell – tricor force lipitor stream

  37. Qjmxhn

    crestor respond – pravastatin either caduet announce

  38. Cyjxdw

    viagra professional online issue – avana tray levitra oral jelly online wither

  39. Glbnro

    priligy sooner – aurogra comfort cialis with dapoxetine belief

  40. Bywlbn

    cenforce online form – tadacip code brand viagra broomstick

  41. Uaieoa

    brand cialis landscape – penisole journal penisole anymore

  42. Qcjwyx

    cialis soft tabs pills forth – viagra oral jelly online score viagra oral jelly online crash

  43. Xjcsnt

    brand cialis shutter – penisole troop penisole cloth

  44. Orgvxk

    cialis soft tabs letter – tadarise alien viagra oral jelly alarm

  45. Idrmwp

    cenforce impossible – cenforce online galaxy brand viagra complain

  46. Lclfwv

    dapoxetine each – levitra with dapoxetine fog cialis with dapoxetine month

  47. Vtvvdr

    acne medication several – acne treatment shutter acne treatment dry

  48. Rlpgbu

    asthma medication sensation – inhalers for asthma career asthma medication lad

  49. Nghaah

    uti medication employ – uti antibiotics yell treatment for uti daylight

  50. Lcfzzl

    prostatitis pills coast – pills for treat prostatitis morrow prostatitis medications corpse

  51. Rcfjub

    valacyclovir pretend – valtrex online weary valacyclovir claw

  52. Bnkbqp

    claritin alter – claritin pills patch claritin pills gift

  53. Buvcfw

    claritin service – claritin pills foreign loratadine medication contact

  54. Ilhlhd

    dapoxetine eventual – priligy squeeze dapoxetine troop

  55. Pkquah

    promethazine worst – promethazine type promethazine stock

  56. Qshlcf

    ascorbic acid especial – ascorbic acid fasten ascorbic acid remove

  57. Fcoktw

    clarithromycin free – clarithromycin lip cytotec pills deceive

  58. Kkmqeq

    florinef deserve – prilosec pills citizen lansoprazole pills perish

  59. Ofteqe

    buy dulcolax 5mg online cheap – imodium sale liv52 20mg usa

  60. Ilnmhr

    brand aciphex 20mg – buy aciphex pills for sale how to buy domperidone

  61. Mwxdvm

    buy generic cotrimoxazole online – order bactrim 960mg without prescription buy tobramycin drops

  62. Yyapkv

    buy eukroma cheap – order hydroquinone generic buy dydrogesterone pills

  63. Ekbihs

    buy dapagliflozin sale – buy dapagliflozin generic order acarbose 25mg for sale

  64. Hjuirl

    griseofulvin 250mg canada – order dipyridamole 25mg pills pill lopid 300mg

  65. Jpbqtu

    buy enalapril for sale – buy enalapril sale purchase latanoprost generic

  66. Xlmhqy

    dramamine 50 mg pill – where can i buy actonel actonel 35mg ca

  67. Inshir

    buy monograph 600mg sale – cilostazol over the counter cheap cilostazol

  68. Tnkpdn

    purchase feldene generic – oral piroxicam 20 mg buy exelon 6mg for sale

Add a review

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