Language \ Environment \ Libraries \ Comparison  
   
Back  
   
  If you see any errors or have any comments, let us know.  
Class   Gainer
   
Name  

turnOffLED()

   
Examples  
// Example   using LED
 
import processing.gainer.*;

Gainer gainer;
void setup(){
  gainer = new Gainer(this);
}

void draw(){
  background(0);
}

void mousePressed(){
  gainer.turnOnLED();
}

void mouseReleased(){
  gainer.turnOffLED();
}

 

Description   Turn off the LED on gainer. command "l*"
   
Syntax  
gainer.turnOffLED()
   
Parameters  
gainer   any variable of type Gainer

   
Returns   void
   
Usage   Application
   
 
 






   
 
Updated:??
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info