Introduction - If you have any usage issues, please Google them yourself
The 8255 A port is used as the input port and is connected with the logic level switch K7 - K8. The 8255 B port is used as the output port and is connected with the light emitting diode LED7 ~ LED8. The program is programmed to display the change of the logic level switch on the light emitting diode. That is, when the switch K7 (or K8) is placed at L, the corresponding light emitting diode LED7 (or LED8) is lighted; when H is put out, the lamp is extinguished