文件名称:STM8-touch-program-without-library
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.