求一个51单片机程序,要求用一个按键控制流水灯的启停,按一下流水启

求一个51单片机程序,要求用一个按键控制流水灯的启停,按一下流水启动,再按一下流水灯暂停

第1个回答  2016-10-19
#include <reg51.h>
typedef unsigned char uint8;
typedef unsigned int uint16;
it anjian = P1追问

怎么样用一个按键,按一下显示这种效果,再按一下显示另外一种效果,就是不低于三种效果的

本回答被网友采纳
相似回答