SHARE
TWEET

LDR Logic

a guest Nov 15th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int counter = 0
  2.  
  3. if (LDR < 500)
  4. {
  5.     if (counter == 0)
  6.     {
  7.         counter = 1;
  8.         PSM();
  9.     }
  10.     else if (couner == 1)
  11.     {
  12.         Loop();
  13.     }
  14. }
  15. else if (LDR > 500)
  16. {
  17.     counter = 0
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top