Hello all, Does someone know about writing 0xFF to micro's port before reading it? Do we actualy need to do it? Thanks a lot, Roberto
This question is so basic that you must be unfamiliar with the '51 so you MUST read the bible before moving on. here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf Erik
"Does someone know about writing 0xFF to micro's port before reading it? Do we actualy need to do it?" For a generic 8051 the answer is no, unless you have written something other than 0xff to the port latch since reset.