by Kartik Shenoy
This fibre runs in an infinite loop and you have to manually stop it. This fibre checks for sound level. If two sound peaks of level greater than 75db seperated by 100 ms (adjust it in the floechart) are heard by the phone's microphone then flashlight will be turned on. Similarly after 2 such peaks it will get turned off.