Home > other >  51 microcontroller running water light and digital tube a selected work will interfere with each oth
51 microcontroller running water light and digital tube a selected work will interfere with each oth

Time:11-26

Digital tube who choose to use the P2 ^ 2 P2 P2 ^ ^ 3 and 4, water lamp in P2 mouth, at the same time work want to interfere with each other, how to solve ah

CodePudding user response:

The unanswered... Why not use other pin

CodePudding user response:

reference 1st floor C_Rabbit response:
the unanswered... Why not use other pin

Running water light and digital tube a selected not only use a P2 port
I tried the other has no effect

CodePudding user response:

references A - ice cream on the second floor response:
Quote: refer to 1st floor C_Rabbit response:
the unanswered... Why not use other pin

Running water light and digital tube a selected not only use a P2 port
I tried the other no effect ah

I am using 89 c52

CodePudding user response:

references A - ice cream on the second floor response:
Quote: refer to 1st floor C_Rabbit response:
the unanswered... Why not use other pin

Running water light and digital tube a selected not only use a P2 port
I tried the other no effect ah

No limit, water lights and digital tube a selected should only push-pull or drop-down ability have requirements for the IO (push-pull or drop-down needs to see circuit type), ordinary IO can achieve
These two functions can't reuse, is the cause of flowing water light and digital tube a selected display device, using the need to keep the high level of time necessary to let the human eye can see, so will inevitably conflict each other, can't reuse,

Doesn't work, try the other pin is no effect on the simulation software, or had no effect on the development board?

CodePudding user response:

No effect on the development board

CodePudding user response:

references A - ice cream 5 floor response:
development board didn't effect on

It should be the development board, you use only P2 of this a few mouth pull up or have joined the drop-down auxiliary circuit, to lead to this situation,
If you only have the development board, it is suggested that considering dropping do digital tube display and light water at the same time,
In addition, it is better to learn the IO push-pull, open drain function and the practical application of the two functions, so as to completely understand why you encounter this problem,

CodePudding user response:

Oh oh, I see thanks brother

CodePudding user response:

But I want to use the latch to try again
  • Related