Reed Switch Module (Large)

(29 customer reviews)

$5.25

19 in stock

Description

Reed Switch Module Code


/* SETUP

Reed-Switch    Arduino
A0      -      D9
GND     -      GND
+       -      5V
*/
 
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.003 kg
  1. Becuxp

    purchase atorvastatin pills cost lipitor 10mg order atorvastatin 10mg pill

  2. Yvsxrk

    ciprofloxacin cheap – buy ethambutol 600mg generic augmentin sale

  3. Oypftu

    order generic cipro 500mg – trimethoprim drug augmentin 1000mg usa

  4. Qipgdi

    ciplox brand – doryx buy online erythromycin 500mg cost

  5. Zasiuy

    buy flagyl generic – purchase azithromycin pill zithromax 250mg generic

  6. Pkggmh

    ivermectin 6 mg otc – sumycin tablets buy generic sumycin for sale

  7. Mrjbno

    buy valacyclovir no prescription – buy nemasole tablets order zovirax 400mg online

  8. Iggxml

    buy acillin no prescription buy monodox generic amoxil order

  9. Lxfuvv

    order flagyl generic – cefaclor 250mg canada zithromax cost

  10. Invgjw

    purchase furosemide pills – purchase warfarin generic where to buy capoten without a prescription

  11. Pwnhdx

    order glycomet 500mg generic – glycomet where to buy generic lincocin 500mg

  12. Pvmwtm

    retrovir 300 mg over the counter – glycomet 1000mg drug buy cheap allopurinol

  13. Hgvpam

    clozaril buy online – cost famotidine buy pepcid generic

  14. Suszca

    seroquel drug – seroquel 100mg drug cheap eskalith for sale

  15. Djqucj

    buy generic anafranil – amoxapine price buy cheap generic doxepin

  16. Jzzelk

    purchase hydroxyzine online – buy generic nortriptyline buy amitriptyline pills for sale

  17. Kkpesq

    clavulanate without prescription – order linezolid 600mg pills order ciprofloxacin generic

  18. Tvvzwk

    purchase amoxil pills – erythromycin 500mg drug purchase baycip online

  19. Oqsjqq

    azithromycin without prescription – ofloxacin over the counter buy ciplox without a prescription

  20. Hzvhqq

    cleocin 150mg ca – buy terramycin generic chloromycetin online

  21. Jqmvsz

    ivermectin side effects – stromectol 3 mg tablet purchase cefaclor for sale

  22. Qgpdqv

    albuterol 4mg ca – buy promethazine without prescription theo-24 Cr 400mg sale

  23. Ikhjgt

    medrol us – order azelastine 10ml sale astelin 10 ml us

  24. Fjhqcz

    clarinex 5mg canada – clarinex drug purchase albuterol inhalator generic

  25. Odjlmi

    order glyburide online cheap – actos 15mg drug forxiga 10mg usa

  26. Eeuosy

    cost glycomet 1000mg – buy generic glycomet over the counter acarbose canada

  27. Whamey

    buy repaglinide 1mg generic – repaglinide over the counter order empagliflozin 25mg without prescription

  28. Dawgdw

    buy cheap generic rybelsus – desmopressin medication DDAVP online buy

  29. Yqqkep

    lamisil 250mg oral – griseofulvin brand griseofulvin uk

Add a review

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