soundimpact library
v0.5
Sound impact occurence counting from other cog.
|
soundimpact.h | Monitor sound impact occurrences from another cog. IMPORTANT: This library is only for making monitoring from another cog more convenient. Your application does not need this to check the sensor's output state. For that, all you need is: int state = input(pin); The value of pin should be Propeller I/O connected to sensor's SIG pin. The sensor returns a 1 to state if an impact is detected, or 0 if not |