|
The light-emitting diode you are talking about, is it an 8-segment LED, or does one pin correspond to a small light bulb? If it is led, you can't use p2 directly, it must be displayed according to the digital code. If one pin corresponds to a small light bulb, I can't test it. I have a 4-digit 8-segment led display calling subroutine. I am also debugging the serial port. It was OK to send a number, but now I want to make a protocol, and send a lot of data, there is a problem. The new board has not been adjusted yet. |
|