使用51单片机点亮你的灯
1.项目结构
2.源代码
main.c
#include <reg52.h> sbit led = P1^0; void main(){ while(1){ led = 0; } }
3.仿真电路
4. 仿真效果
6.项目仓库
https://gitee.com/navysummer/at89c51/tree/master/led
main.c
#include <reg52.h> sbit led = P1^0; void main(){ while(1){ led = 0; } }
https://gitee.com/navysummer/at89c51/tree/master/led