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 (141697 times)
  2. FAT32 Library (74777 times)
  3. Network Ethernet Library (59216 times)
  4. USB Device Library (49226 times)
  5. Network WiFi Library (44999 times)
  6. FT800 Library (44536 times)
  7. GSM click (31200 times)
  8. mikroSDK (30103 times)
  9. microSD click (27586 times)
  10. PID Library (27540 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

A simple Touch button

Rating:

0

Author: Ahmed El-Khazragy

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 1335 times

Followed by: 3 users

License: MIT license  

using the PIC16F1938 Cap-sense Peripheral, I could easily make a touch button which can do any function I want.

You have to connect a small squared piece of double sided PCB with upper side to RB1_bit and the other side to the ground to work correctly ..

You may read papers which I have just uploaded to understand much more better

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "A simple Touch button " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "A simple Touch button " changes.

Do you want to report abuse regarding "A simple Touch button ".

  • Information
  • Comments (1)

Example Blog

Blog currently doesn't exist!

RELATED CODES

Using MINI-M4 for STM32 as a Servo Motor Controller

0

In this example I use general-purpose timer 3, channels 1 and channel 2 to drive a pair of servo-motors in a pan and tilt mechanism. The included test program provides a convenient way to send multiple seek commands to position the servos over their complete range of motion.

[Learn More]

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]

Rotary Encoder using CLC module

0

This is an example code using the CLC (Configurable Logic Cell) module available in newer PIC16F and PIC24F.

[Learn More]