Good day! I am new to microcontrollers and to programming in general, I was wondering if someone could help me with my project.
I am trying to make an LED turn on and transmit the data to another AT89S52 using a MAX485.
I am planning to make Port 1, Port 0 and Port 2.0-2.3 and Port 3.5 as the input and make the LED turn on by connecting the common on the input.
I hope someone can help me. I've attached an example of an input circuit to AT89S52.
Thank you!!
I am trying to make an LED turn on and transmit the data to another AT89S52 using a MAX485.
I am planning to make Port 1, Port 0 and Port 2.0-2.3 and Port 3.5 as the input and make the LED turn on by connecting the common on the input.
I hope someone can help me. I've attached an example of an input circuit to AT89S52.
Thank you!!