Introduction - If you have any usage issues, please Google them yourself
Control by 8255 to achieve Lantern, 8 LEDs display the status of the eight switches: the switch is closed, then the i-th LED lights, for example: the corresponding closed, bright closed when the corresponding bright