Hi. What is/are the difference(s) between the following:
PxMDIN = 0xFF; // all pins on port1 are digital input with optional weak pullup. PxMDOUT = 0; // all pins on port1 are digital input as open-drain (no pullup).
Thank you.
If I had created any confusion, allow me to apologize.
Technically speaking, can I use either to declare a port as input?
So why did you write "fc" and not file compare?
Because you never realized that some people might use a tool named "diff" for comparing files? Some people may have another tool. So the only logical thing to write is what operation to perform and let the user perform the mapping to a suitable tool. You could optionally mention (I use "fc" for comparing files).
But then again, file comparisons are not relevant to this question - maybe you did know that but felt like trolling...
it means file compare. you can see te differences in 2 lines. it will tell you what is different. and compare them.
what is fc?
can you try fc on the lines?
View all questions in Keil forum