Advertisement
waravutbutrat

IPST and

Jun 25th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <ipst.h>
  2. int x=100;
  3. void setup(){
  4.   setTextSize(3);
  5. }
  6. void loop()
  7. {    
  8.   if (!in(18)&&!in(27)){
  9.     sound(16,500,100);
  10.   }
  11.   else if (!in(18)){
  12.     sound(16,1000,100);
  13.   }
  14.   else if (!in(27)){
  15.     sound(16,2000,100);
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement