Advertisement
Guest User

Untitled

a guest
Nov 8th, 2021
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. sum=p1-p3;
  2. if (vals>=p1 && f_key1 == true && full == false) {
  3. full = true;}
  4. else{ out= HIGH); }
  5.  
  6. if (full == true && f_key1 == true ) {
  7. if (vals>p1){ out= LOW);
  8. }
  9. if (vals<sum){ out= HIGH); }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement