MCP23017 decoder

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Maverick
Posts: 69
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Flowcode v10 MCP23017 decoder

Post 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
Attachments
MCP23017_test.fcfx
(15.95 KiB) Downloaded 20 times

medelec35
Matrix Staff
Posts: 1471
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 516 times
Been thanked: 474 times

Re: MCP23017 decoder

Post 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
Martin

Post Reply