Been playing with this chip but it is not behaving quite as I expect.
The data sheet states: "Writing to the GPIOn register actually causes a write to the latches (OLATn). Writing to the OLATn register forces the associated output drivers to drive to the level in OLATn"
How does this work in practise? Does it matter which port I write to?
Is it rude to answer ones own question?
I find that if I write zeros to either register I can write the desired output value to the other obtain an output! I haven't discovered what the difference is between the two registers. Perhaps someone can advice?
Mcp 23017 i/o latches and registers
Started by philvr, Sep 11 2013 02:47 PM
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users