Skip to content

Conversation

@RREE
Copy link
Contributor

@RREE RREE commented May 1, 2022

The PCF8574 is an old and simple io-expander from the 90ies without data direction register nor latch. GPIO_Pin cannot be implemented (I think). It is widely used in small LCD displays.

@CLAassistant
Copy link

CLAassistant commented May 1, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@Fabien-Chouteau Fabien-Chouteau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @RREE.

I have a couple comments.

Val : I2C_Data (1 .. 1);
Status : I2C_Status;
begin
This.Port.Receive (This.Addr, Val, Status);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This.Port is potentially null, you should check that before.
Same thing for the Set procedure.

@RREE RREE requested a review from Fabien-Chouteau May 10, 2022 20:42
@Fabien-Chouteau
Copy link
Member

See #405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants