TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136636 times)
  2. FAT32 Library (69843 times)
  3. Network Ethernet Library (55895 times)
  4. USB Device Library (46228 times)
  5. Network WiFi Library (41867 times)
  6. FT800 Library (41087 times)
  7. GSM click (28945 times)
  8. PID Library (26402 times)
  9. mikroSDK (26320 times)
  10. microSD click (25329 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Noise Click

Rating:

0

Author: Tim C

Last Updated: 2017-02-01

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Audio recording

Downloaded: 428 times

Not followed.

License: MIT license  

The Noise Click measures ambient sound and triggers above a reference voltage. The only programmatic adjustment is the reference voltage. A small value makes the device very sensitive. This example sets the reverence voltage low for higher sensitivity then outputs the text --NOISE-- when you snap your fingers or tap on the desk.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Noise Click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Noise Click" changes.

Do you want to report abuse regarding "Noise Click".

  • Information
  • Comments (0)

Example Blog

I provided this example because the code to set the ADC threshold was hidden in the C language project from MikroElektronika.  Also no basic language example was available when this click board was anounced.

Jan 31 2017: The examples have been updated to use uP Interrupts.

ALSO FROM THIS AUTHOR

External Interrupt

0

Simple example showing how to use 2 buttons to INC() or DEC() a variable. Uses two Interrupts INT0 and INT1

[Learn More]