Flashlight

Action: 
com.teslacoilsw.intent.FLASHLIGHT
Input: 
Optional extra: "on" (boolean) "timeout" (int) "off" (boolean) "toggle" (boolean) "strobe" (int [rate])

Used to control the state of the LED Flash for flashlighting purposes.

Supported in TeslaLED >= 2.0.1 (http://teslacoilsw.com/teslaled)

Example usage:

Intent intent = new Intent("com.teslacoilsw.intent.FLASHLIGHT");
intent.putExtra("toggle", true);
mContext.startService(intent);

Or to start it for 5 minutes:

Intent intent = new Intent("com.teslacoilsw.intent.FLASHLIGHT");
intent.putExtra("on", true);
intent.putExtra("timeout", 5);
mContext.startService(intent);

Or for when you're programming java at a rave:

Intent intent = new Intent("com.teslacoilsw.intent.FLASHLIGHT");
intent.putExtra("strobe", 10); /* 10 Hertz */
mContext.startService(intent);