Light Blocking Module

(80 customer reviews)

$4.85

18 in stock

Description

Light Block Sensor Module Code


/* SETUP

Light-Block    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

// variables will change:
int buttonState = 0; // variable for reading the pushbutton status

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

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

 

Additional information

Weight 0.002 kg
  1. Woktsv

    cheap atorvastatin 20mg generic atorvastatin 10mg order atorvastatin 10mg online

  2. Vimdgj

    order ciprofloxacin 500mg for sale – keflex 250mg drug buy augmentin pills

  3. Gzhcsq

    cipro 500mg sale – ethambutol for sale online augmentin 1000mg uk

  4. Dlrtfb

    buy metronidazole 200mg online – buy oxytetracycline without prescription azithromycin 250mg price

  5. Gfylde

    buy ciprofloxacin 500 mg without prescription – tindamax 300mg us erythromycin 250mg cost

  6. Iujgnj

    cheap valtrex – order nateglinide 120 mg sale order acyclovir 400mg generic

  7. Wnwtfm

    ivermectin india – sumycin online buy tetracycline 500mg

  8. Cgkmoy

    metronidazole online buy – flagyl oral order zithromax 500mg generic

  9. Zauqqf

    buy acillin pills for sale acticlate us cheap amoxicillin pills

  10. Cayqyd

    furosemide online – medex buy online buy capoten 25mg generic

  11. Rzasoc

    order generic metformin 1000mg – cefadroxil ca lincomycin buy online

  12. Evkvlz

    where to buy retrovir without a prescription – where to buy avapro without a prescription buy generic zyloprim

  13. Poclvl

    clozaril for sale online – clozapine 50mg oral buy pepcid paypal

  14. Eqpvnv

    buy quetiapine 50mg for sale – buy generic zoloft for sale cheap eskalith tablets

  15. Xvvkln

    anafranil 50mg for sale – abilify online order order sinequan for sale

  16. Bwlbgq

    hydroxyzine 10mg pill – order pamelor 25mg online cheap amitriptyline drug

  17. Qwbkvr

    buy clavulanate paypal – clavulanate us generic ciprofloxacin 1000mg

  18. Iiemhh

    purchase amoxil – cefadroxil without prescription buy cipro medication

  19. Jdhdmf

    cleocin 150mg cost – order vantin generic chloromycetin us

  20. Ornuyg

    zithromax 500mg us – ciplox medication ciplox 500 mg cost

  21. Ijfkpu

    stromectol cream – purchase aczone generic cefaclor for sale

  22. Awcgjq

    buy generic albuterol 2mg – buy generic advair diskus inhalator where can i buy theo-24 Cr

  23. Ldabhj

    desloratadine order – flixotide cost order albuterol pills

  24. Jzbwbk

    purchase depo-medrol for sale – fluorometholone order azelastine 10 ml over the counter

  25. Pmghcs

    micronase uk – actos 30mg usa order forxiga 10 mg for sale

  26. Jedwqb

    repaglinide 1mg cost – jardiance where to buy empagliflozin 10mg brand

  27. Gblwga

    buy metformin online – sitagliptin 100mg without prescription acarbose 50mg drug

  28. Fywaqs

    terbinafine 250mg cheap – buy griseofulvin no prescription buy griseofulvin pill

  29. Tfazbi

    buy rybelsus – desmopressin medication buy generic desmopressin over the counter

  30. Cxbjmi

    nizoral 200mg us – buy nizoral 200mg generic buy sporanox sale

  31. Fpgpfs

    order famciclovir 250mg pill – order valaciclovir 500mg pills order valcivir 500mg generic

  32. Xwbqrv

    order digoxin generic – buy dipyridamole generic lasix cost

  33. Bbbzik

    buy hydrochlorothiazide cheap – order lisinopril 2.5mg without prescription bisoprolol 5mg tablet

  34. Uyzkfh

    lopressor pills – buy telmisartan 20mg pills buy nifedipine tablets

  35. Ndafzc

    nitroglycerin pill – combipres medication valsartan 160mg oral

  36. Spscoe

    crestor pills medical – caduet pills swirl caduet online box

  37. Chfeyi

    simvastatin sex – simvastatin dignity lipitor reflect

  38. Vflpqi

    viagra professional stab – super avana parlour levitra oral jelly express

  39. Mwfygv

    dapoxetine around – levitra with dapoxetine medical cialis with dapoxetine resolution

  40. Fqpupm

    cenforce online firm – brand viagra online goose brand viagra pills crash

  41. Sycsea

    brand cialis lick – forzest season penisole take

  42. Epyckj

    cialis soft tabs pills puff – cialis super active defeat1 viagra oral jelly online item

  43. Pvrbtm

    brand cialis set – zhewitra lap penisole project

  44. Onuqqi

    cialis soft tabs pills room – levitra soft online caution viagra oral jelly require

  45. Nqeifz

    cenforce respectable – zenegra online sea brand viagra online amazement

  46. Khwpfw

    priligy include – fildena wonder cialis with dapoxetine evidence

  47. Mahsnq

    acne treatment torture – acne treatment trick acne medication big

  48. Qofmce

    inhalers for asthma petunia – asthma medication husband asthma treatment hood

  49. Febxbq

    uti medication third – uti treatment commit uti treatment most

  50. Jbzpah

    valtrex pills smaller – valtrex online gaunt valtrex pills college

  51. Kmxnhd

    claritin pills drum – claritin pills brief loratadine medication bob

  52. Wftcet

    priligy lion – dapoxetine data priligy per

  53. Wwsowv

    claritin pills element – claritin pills remembrance claritin pills vain

  54. Znankm

    promethazine double – promethazine major promethazine odour

  55. Uymrlr

    ascorbic acid room – ascorbic acid never ascorbic acid traffic

  56. Dwnadt

    biaxin pills ireland – mesalamine pills shop cytotec fetch

  57. Ykpwsc

    fludrocortisone full – nexium shin lansoprazole code

  58. Fpdhfp

    buy generic dulcolax – purchase bisacodyl online cheap order liv52 10mg without prescription

  59. Rondcy

    buy generic rabeprazole 20mg – order maxolon generic domperidone oral

  60. Qcjuzu

    cotrimoxazole 960mg uk – buy tobramycin 5mg online tobrex 10mg us

  61. Onymbe

    order eukroma without prescription – where to buy hydroquinone without a prescription order generic duphaston 10mg

  62. Tijapd

    order dapagliflozin 10 mg sale – acarbose 25mg uk acarbose medication

  63. Muzpix

    griseofulvin 250mg uk – buy dipyridamole 25mg generic buy lopid 300mg without prescription

  64. Dzwnmp

    dimenhydrinate 50mg tablet – actonel 35 mg generic order risedronate for sale

  65. Levamp

    order etodolac pills – cost etodolac 600 mg pletal 100 mg for sale

  66. Xqotwo

    piroxicam 20 mg drug – feldene 20mg canada rivastigmine 6mg sale

  67. Ufmaut

    buy piracetam 800mg pills – sustiva 10mg cheap cost sinemet 20mg

  68. Ybvenh

    hydroxyurea price – buy robaxin without prescription buy generic methocarbamol 500mg

  69. Mafzkv

    buy generic depakote over the counter – order aggrenox pills topiramate 100mg cost

  70. Tnfzah

    purchase norpace online – purchase lamivudine for sale buy chlorpromazine no prescription

  71. Rscunx

    buy cytoxan generic – cheap dimenhydrinate 50 mg order generic vastarel

  72. Lkgcwj

    oral spironolactone – prothiaden buy online naltrexone online

  73. Ugizds

    purchase flexeril for sale – order generic vasotec 10mg purchase vasotec online cheap

  74. Ryesyr

    buy ondansetron 8mg generic – zofran 8mg us ropinirole oral

  75. Gakfje

    ascorbic acid order online – purchase bromhexine generic buy compro tablets

  76. Ggkssz

    buy durex gel sale – durex condoms purchase online purchase latanoprost online

  77. Spszvs

    cheap rogaine generic – dutas pills order propecia online

  78. Wdjyjz

    arava cost – cartidin order online cartidin for sale

  79. Ajihvs

    order atenolol online – buy carvedilol pills order coreg 25mg online cheap

  80. Szcfpd

    cost calan – order tenoretic generic buy tenoretic paypal

Add a review

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