TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140169 times)
  2. FAT32 Library (72623 times)
  3. Network Ethernet Library (57644 times)
  4. USB Device Library (47958 times)
  5. Network WiFi Library (43555 times)
  6. FT800 Library (42942 times)
  7. GSM click (30141 times)
  8. mikroSDK (28672 times)
  9. PID Library (27058 times)
  10. microSD click (26552 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: 475 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]