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
MCP23017 decoder
-
- Posts: 69
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:58 am
- Has thanked: 27 times
- Been thanked: 8 times
-
- Matrix Staff
- Posts: 1479
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 524 times
- Been thanked: 480 times
Re: MCP23017 decoder
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
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
Martin