The blue potentiometer on there can be tweaked to choose how sensitive it is, then all you need to do is use setWatch on the pin that's connected to the digital output :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi! Yes, totally - there are various ways to do it, but by far the easiest would be to buy a microphone module that does it for you.
Something like: https://www.ebay.co.uk/itm/Sound-Detection-Sensor-Module-Electret-Condenser-Microphone-Arduino-PIC-Pi-LM393/273149595283
The blue potentiometer on there can be tweaked to choose how sensitive it is, then all you need to do is use
setWatch
on the pin that's connected to the digital output :)