前面单片机控制LED程序,单片机的动作都是预先安排好,是不可控的。那怎么行呢,太单调了!能不能通过输入信号去控制单片机程序的运行呢,让单片机受人的控制,做到可控呢?
键盘控制即开关量的输入是任何一个控制系统中最常用的输入信号,除了手动的开关和按键以外,在自动控制系统中还有许多开关量的输入,如继电器触点、干簧管、位置开关、接近开关、霍尔开关等,凡是使用机械触点输入信号的都属于此类,本项目训练是学会按键输入的常用方法。
The front microcontroller controls the LED program, and the actions of the microcontroller are pre arranged and uncontrollable. How can that work? It's too monotonous! Can the operation of the microcontroller program be controlled through input signals, allowing the microcontroller to be controlled by humans and achieve controllability?
Keyboard control, also known as switch input, is the most commonly used input signal in any control system. In addition to manual switches and buttons, there are also many switch inputs in automatic control systems, such as relay contacts, reed switches, position switches, proximity switches, Hall switches, etc. Anyone who uses mechanical contact input signals belongs to this category. This project training is about learning the common methods of key input.
按键控制动画图 / Key controlled animation diagram


