Reed Switch Module (Small)

(31 customer reviews)

$4.15

15 in stock

Description

Reed Switch Module Code


/* SETUP

Reed-Switch    Arduino
S       -      D9
        -      5V
-       -      GND
*/
 
int Led = 13 ;// define LED Interface
int buttonpin = 3; // define the Reed sensor interfaces
int val ;// define numeric variables val

void setup ()
{
  pinMode (Led, OUTPUT) ;// define LED as output interface
  pinMode (buttonpin, INPUT) ;// output interface as defined Reed sensor
}

void loop ()
{
  val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read val
  if (val == HIGH) // When the Reed sensor detects a signal, LED flashes
  {
    digitalWrite (Led, LOW);
  }
  else
  {
    digitalWrite (Led, HIGH);
  }
}

 

Additional information

Weight 0.001 kg
  1. Xgraur

    buy generic atorvastatin lipitor for sale online order atorvastatin 20mg online

  2. Qfprup

    order cipro pill – ethambutol generic order generic amoxiclav

  3. Mhjzej

    purchase baycip online – keflex 500mg cost clavulanate uk

  4. Plfsll

    order generic flagyl 400mg – purchase amoxicillin pill azithromycin 500mg without prescription

  5. Xhpimc

    cheap ciprofloxacin 500 mg – buy cheap tindamax erythromycin 250mg cost

  6. Xrgbzn

    buy valtrex medication – vermox 100mg over the counter order zovirax 800mg pill

  7. Krievn

    stromectol us – order cefuroxime online sumycin brand

  8. Fgkngh

    metronidazole 400mg usa – cost amoxil buy azithromycin for sale

  9. Wzmwfb

    ampicillin price purchase penicillin pill amoxicillin sale

  10. Cetuss

    order furosemide 40mg generic – buy prograf 5mg pills captopril for sale

  11. Atciwh

    glucophage 500mg price – buy bactrim medication buy lincomycin

  12. Skthbu

    retrovir sale – roxithromycin 150 mg generic buy zyloprim 100mg online

  13. Cuauqo

    order clozaril 100mg without prescription – buy frumil medication buy pepcid tablets

  14. Vrolto

    order seroquel 100mg generic – buy seroquel 50mg online cheap buy eskalith no prescription

  15. Aljxxp

    clomipramine uk – order amoxapine buy sinequan 75mg generic

  16. Jedtiu

    purchase atarax without prescription – buy prozac 40mg online order generic amitriptyline

  17. Netkbz

    purchase augmentin without prescription – generic bactrim 960mg buy cipro generic

  18. Mouiie

    order amoxicillin for sale – buy cephalexin 250mg pills baycip order

  19. Yadstc

    cleocin 300mg cheap – buy cefixime without prescription purchase chloramphenicol

  20. Eehvhz

    buy zithromax online – tinidazole oral buy ciplox

  21. Pstdaq

    ivermectin 3 mg online – stromectol online pharmacy order cefaclor without prescription

  22. Ddovcz

    order ventolin 4mg inhaler – buy theophylline generic theo-24 Cr buy online

  23. Cntuqy

    methylprednisolone brand – order fluorometholone online astelin sprayers

  24. Eyfkxk

    desloratadine 5mg cost – order clarinex without prescription ventolin inhalator without prescription

  25. Jrvmoj

    buy micronase 2.5mg – buy forxiga pills for sale forxiga 10 mg price

  26. Mmrsvu

    order repaglinide 1mg online – prandin cost order jardiance 25mg sale

  27. Aiyvtf

    buy generic glycomet online – precose 50mg us precose 25mg cheap

  28. Goymel

    oral terbinafine – buy fulvicin 250 mg generic buy griseofulvin generic

  29. Pbbnjg

    cost rybelsus 14mg – buy rybelsus 14 mg online cheap DDAVP generic

  30. Tantgm

    ketoconazole pill – buy ketoconazole pills sporanox without prescription

  31. Tvzhdo

    famciclovir 250mg canada – zovirax 400mg for sale valaciclovir 1000mg usa

Add a review

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