Page 1 of 1

MCP23017 decoder

Posted: Tue May 07, 2024 4:14 pm
by Maverick
Hi
Could someone have a look at attached code and see what's wrong please,
Initially I want ports A and B to light up depending on data written to them

Re: MCP23017 decoder

Posted: Tue May 07, 2024 5:09 pm
by medelec35
Hello.
In future can you slect the 9 or 10 post icon so we now which version you need help with.
If you are referring to simulation, then there is no simulation for this component.
If you are referring to hardware, then have you checked your code is running at the correct clock speed by using the One Sec Flasher Test?
Next check the correct address is being used via the I2C sniffer, Flowcode v9 version can be found here
You will need to select 0 for 0x20. 1 for 0x21 ...... 7 for 0x27