Advertisement
waravutbutrat

IPST switch

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)==0){
  9.     sound(16,1000,100);
  10.   }
  11.   if (in(27)==0){
  12.     sound(16,2000,100);
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement