首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
hc89s003f4专题
HC89S003F4管脚快速设置函数GPIO,方便懒人
不用记那么多寄存器的名称了,直接输入管脚号和管脚状态就可以了。例子在最下面几行 变量 P 被厂家用了,只能使用GPIO了。 本函数占用约200字节,地方不够的慎用 /******管脚设置函数 by abin******/ #define P00 0 #define P01 1 #define P02 2 #define P03 3 #define P04
阅读更多...