PCF8574 component macro error in V10
-
- Posts: 85
- http://meble-kuchenne.info.pl
- Joined: Thu Jan 07, 2021 11:28 am
- Has thanked: 3 times
- Been thanked: 4 times
-
- 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
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.
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
-
- 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
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.
As it was not a bug I will move the topic from the bugs section.
Thank you for updating us.
Martin