Double Clap Flashlight

by Kartik Shenoy

Version 1 (November 28, 2016)

Download (192 downloads)

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.