Mercury Tilt Switch Module with Light

(48 customer reviews)

$5.95

40 in stock

Description

Light Cup Code


/* SETUP

Light Cup       Arduino
-         -     GND
+         -     5V
S         -     D10
L         -     D13
*/
 
int Led = 13;   // Declaration of the LED-output pin
int Sensor = 10;    // Declaration of the sensor input pin
int val;    // Temporary variable
  
void setup () {
  pinMode (Led, OUTPUT) ; // Initialization output pin
  pinMode (Sensor, INPUT) ; // Initialization sensor pin
  digitalWrite(Sensor, HIGH); // Activating of the internal pull-up resistor
}
  
void loop () {
  val = digitalRead (Sensor);   // The current signal from the sensor will be read
  
  if (val == HIGH)    // If a signal will be detected, the LED will light up.
  {
    digitalWrite (Led, LOW);
  }
  else
  {
    digitalWrite (Led, HIGH);
  }
}

 

Additional information

Weight 0.002 kg
  1. Rwqont

    lipitor over the counter buy atorvastatin for sale buy lipitor 40mg online

  2. Gsxacj

    order ciprofloxacin pills – order generic ethambutol 600mg clavulanate cheap

  3. Ldtxxk

    order cipro 500mg online cheap – buy keflex generic order augmentin online cheap

  4. Zeieks

    buy metronidazole 400mg – oral amoxicillin azithromycin order

  5. Cfgctp

    ciplox 500mg sale – erythromycin 250mg oral cheap erythromycin 250mg

  6. Yozvrx

    valacyclovir 1000mg usa – order zovirax 800mg generic zovirax buy online

  7. Ihoghy

    buy flagyl 200mg without prescription – buy clindamycin pills for sale azithromycin 500mg brand

  8. Vunfkm

    buy acillin no prescription monodox without prescription amoxicillin tablets

  9. Withhw

    oral furosemide 40mg – order generic prograf 5mg captopril 25 mg generic

  10. Bvrnox

    glycomet 1000mg generic – purchase cipro sale purchase lincocin

  11. Ssefri

    zidovudine pill – lamivudine 100 mg pills purchase allopurinol online

  12. Lvsjcq

    buy clozaril 100mg online – order clozaril generic buy pepcid

  13. Stsotp

    how to buy seroquel – purchase bupropion generic buy eskalith tablets

  14. Eszqbb

    buy hydroxyzine 10mg pills – buy prozac 40mg generic order generic endep

  15. Oqcdcz

    buy generic anafranil – brand aripiprazole purchase doxepin online cheap

  16. Wrcddc

    amoxicillin cheap – buy amoxil medication buy cipro 1000mg online

  17. Foxalr

    order augmentin 1000mg generic – cost myambutol 600mg order ciprofloxacin 500mg online cheap

  18. Vjjzru

    buy cleocin 150mg online – order cefixime 100mg generic buy chloromycetin

  19. Zvqqxk

    order zithromax pill – order flagyl 400mg pills order ciplox

  20. Mvfhps

    order albuterol 2mg generic – fluticasone online order theophylline pill

  21. Jfsncv

    ivermectin 3mg oral – buy aczone online cheap purchase cefaclor generic

  22. Lqqhlu

    buy clarinex generic – purchase clarinex sale order ventolin generic

  23. Qfxpfy

    buy generic methylprednisolone – loratadine drug astelin brand

  24. Eoxzvh

    glyburide cost – order forxiga 10mg online cheap dapagliflozin 10 mg uk

  25. Drjiec

    buy prandin 1mg generic – generic repaglinide empagliflozin pill

  26. Yuozwk

    glycomet buy online – order precose online order precose 25mg without prescription

  27. Jgovun

    order lamisil sale – griseofulvin 250 mg cheap buy grifulvin v generic

  28. Jovsft

    buy semaglutide online – buy glucovance pills for sale DDAVP order

  29. Cnjbsk

    brand nizoral 200mg – buy generic mentax itraconazole 100mg over the counter

  30. Xdnnga

    lanoxin 250mg pills – verapamil 120mg pills buy furosemide 100mg without prescription

  31. Lqccbj

    cost famvir 250mg – zovirax 800mg canada buy valcivir 500mg online

  32. Xytuie

    microzide 25 mg uk – plendil 5mg ca bisoprolol uk

  33. Izienv

    buy lopressor no prescription – micardis 20mg drug nifedipine 30mg ca

  34. Kaplkc

    nitroglycerin online order – where to buy clonidine without a prescription order valsartan online

  35. Arvtjd

    rosuvastatin pills song – caduet imp caduet online well

  36. Odigsi

    simvastatin science – gemfibrozil madness lipitor rib

  37. Dexdqh

    buy viagra professional monster – viagra gold online easy levitra oral jelly myrtle

  38. Maxgtj

    priligy almost – sildigra appoint cialis with dapoxetine frantic

  39. Gybkqg

    cenforce buck – tadalafil pill brand viagra toss

  40. Vutuxb

    brand cialis dwell – brand levitra crouch penisole yard

  41. Kutmcs

    cialis soft tabs into – valif ham viagra oral jelly care

  42. Bamafb

    brand cialis appearance – apcalis sword penisole thomas

  43. Tohrvq

    cialis soft tabs online western – caverta pills straighten viagra oral jelly witness

  44. Tyfurv

    cenforce online bore – brand viagra pills smart

  45. Reaxye

    priligy upward – cialis with dapoxetine fruit cialis with dapoxetine hat

  46. Jcevbs

    acne medication social – acne treatment shut acne treatment corp

  47. Jyviob

    inhalers for asthma baby – asthma medication battle inhalers for asthma cluster

  48. Kekeby

    uti antibiotics poor – uti treatment occur uti medication block

Add a review

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