Hello
I am new to the 8051 compatible controller. I am used to PIC as well as Renesas and using C. The 8051 does not have a "Port Direction" to set. I have some questions regarding this:
- How to set it as input? I read something of writing 1 to the latch. However, this is as using it as output and set it. I don't get its function.
- How to set it as output correctly?
- There is a difference between reading the "pin" and reading "latch". Can I somehow select which one I want to read?
Thanks for your help Franz