wulin 發(fā)表于 2018-5-8 21:02
//使用STC15W104系列
#include
#define uint unsigned int
188610329 發(fā)表于 2021-11-9 16:06
這東西8年前還是多少年前,STC剛出15系列的時候,倒是研究過。
這個電路,需要加個電容,和下拉電阻,
baobao125 發(fā)表于 2021-11-9 17:55
就上面的電路,用ADC去判斷應(yīng)該可以吧
| 歡迎光臨 (http://m.raoushi.com/bbs/) | Powered by Discuz! X3.1 |