[SOLVED] Is it possible to control a single pin of MC23017?

Status
Not open for further replies.
to my limited knowledge, i suppose a human eye can't see, but there would be a blink as, we have to transmit all 8 bits again changing only the bit under concern. Perhaps it is like refreshing with needed bit altered.
 
hello,


it seems only byte can be transmit to the output, but through an internal latch of MCP23017.
So to modify only one bit,you can read the latch, do an OR or AND function with the bit you want to change
and send back (write) the ORed or ANDed value to the device without affect the other PIN
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…