控制led是输出 读取时是输入 //输出低电平 mov P1.0,0 //输出高电平 mov P1.0,1 led的亮灭看你怎么接,接限流电阻到高电平是0亮.
27,375
社区成员
28,769
社区内容
加载中
试试用AI创作助手写篇文章吧