Skip to content

Conversation

@stefanhaustein
Copy link
Collaborator

@stefanhaustein stefanhaustein commented Dec 23, 2025

Background / motivation: https://docs.google.com/document/d/1nlVF_9RwZm0OERCxPWvl-Qm6qypqfARxme8IQd7Dv6U/edit?usp=sharing

Open issues

  • Any suggestions for a better name?
  • In SPI, there is a 2nd delay parameter. Is that actually useful / needed for anything?
  • Are there any known use cases for SPI or I2C writeThenRead?

@stefanhaustein stefanhaustein marked this pull request as draft December 23, 2025 11:36
@stefanhaustein
Copy link
Collaborator Author

Changed to only one delay, as discussed.

I have also changed the delay unit to nanoseconds as this seems to be relatively common in java apis (e.g. parking)...

@stefanhaustein stefanhaustein marked this pull request as ready for review December 26, 2025 15:22
Copy link
Member

@eitch eitch left a comment

Choose a reason for hiding this comment

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

looks good otherwise

@stefanhaustein stefanhaustein merged commit e85c285 into Pi4J:develop Jan 11, 2026
4 checks passed
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.

2 participants