文件名称:STM8-touch-program-without-library
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- a***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
STM为了卖产品做出的库实际是将简单的问题复杂化,你要是用调用STM8的所谓TOUCH库的方法设计触摸按键,那各种绕弯十万八千里的调用能把你头搞炸。RC电容触摸按键的检测原理其实很简单,而具体到STM8单片机上则是通过所谓的LOAD脚加载高、低电平进行充、放电,然后检测键盘脚的高低电平的门限Vih、Vil以及读取定时器而获得充放电的时间。具体可到www.stmcu.org获取相关资料。-STM library in order to sell products to make the actual will simply complicate the issue, if you call the STM8 the so-called TOUCH library designed touch keys, and a variety of rotary draw thousands of miles apart call will get you head to engage in deep-fried.RC capacitance touch key detection principle is very simple, specific to STM8 microcontroller is loaded by the so-called LOAD pin high, low charge and discharge, and then detect the keyport pin high and low threshold Vih Vil andread the timer and charge and discharge time. Specific to www.stmcu.org access to relevant information.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
touchkey.txt