SHARE
TWEET

Untitled

a guest Aug 25th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import reg517a.h;
  2.  
  3. public class reg517a.h{
  4.  
  5. sbit taster;
  6. sfr led;
  7.  
  8.  
  9.  
  10.  public static void main(String[] args){
  11.  
  12.     taster = new sbit;
  13.     led = new sfr;
  14.     while(true){
  15.    
  16.     if(taster!=0){
  17.    
  18.     led.on();
  19.  
  20.     }else{
  21.    
  22.     led.off();
  23.    
  24.     }
  25.  
  26.     }
  27.  
  28. }
  29.  
  30.  
  31.  
  32. }
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