PCF8574 component macro error in V10

For general Flowcode discussion that does not belong in the other sections.
Post Reply
niedian
Posts: 85
http://meble-kuchenne.info.pl
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Flowcode v10 PCF8574 component macro error in V10

Post by niedian »

Data output error after compilation in V10. That's true in V8.
PCF8574.fcfx
(23.99 KiB) Downloaded 40 times

niedian
Posts: 85
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

The PCF8575 component macro has an error in V10

Post by niedian »

The PCF8575 Data output error after compilation in V10. That's true in V8.
PCF8575并口扩展芯片的流码设计.fcfx
(8.18 KiB) Downloaded 44 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: PCF8574 component macro error in V10

Post by medelec35 »

Hello.
I have just tested a PCF8574T
Sent data in a repeated loop of 1, 2 & 4 and the correct pins P0, P1 & P2 are at the correct logic of 100, 010, 001,100, 010 & 001 etc.
Can you explain the difference in data expected and what you got?
I have noticed in your PCF8574.fcfx project you posted, none of the expanders have their Device Type selected within properties.
You will need to select either PCF8574 or PCF8574A as they have different addresses.
It could be the wrong addresses are being used.
Martin

niedian
Posts: 85
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: PCF8574 component macro error in V10

Post by niedian »

It's perfect. Thank you!

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: PCF8574 component macro error in V10

Post by medelec35 »

I'm glad your project is working now does that include the PCF875 as well?
As it was not a bug I will move the topic from the bugs section.
Thank you for updating us.
Martin

Post Reply