Home > other > How to read the AT89C51 p1 mouth of high and low level so as to control the LED light.
How to read the AT89C51 p1 mouth of high and low level so as to control the LED light.
Time:09-16
How to read the AT89C51 p1 mouth of high and low level so as to control the LED light. (in assembly language)
CodePudding user response:
Control the led output Read as input //output low level Mov P1.0, 0 //output high level Mov P1.0, 1 Destroy the light of the led to see how you pick, current-limiting resistance to high level is 0.