TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 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 (141249 times)
  2. FAT32 Library (74083 times)
  3. Network Ethernet Library (58709 times)
  4. USB Device Library (48814 times)
  5. Network WiFi Library (44523 times)
  6. FT800 Library (44072 times)
  7. GSM click (30803 times)
  8. mikroSDK (29648 times)
  9. PID Library (27355 times)
  10. microSD click (27251 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: 504 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]