Skip to content

Allow using alternative address of Modulino Movement#65

Open
sebromero wants to merge 1 commit into
mainfrom
movement-address
Open

Allow using alternative address of Modulino Movement#65
sebromero wants to merge 1 commit into
mainfrom
movement-address

Conversation

@sebromero

Copy link
Copy Markdown
Contributor

This PR allows to use the alternative I2C address of the Modulino Movement. Previously it was hardcoded to 0x6A .

@per1234 per1234 added the enhancement New feature or request label May 18, 2026
@sebromero sebromero requested a review from Copilot June 26, 2026 09:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the Modulino Movement’s I2C address configurable instead of being hardcoded to 0x6A, enabling use of the module’s alternative address while keeping existing construction patterns (hub-port vs. direct I2C) working.

Changes:

  • Added a Module::getAddress() accessor to expose the configured module address.
  • Updated ModulinoMovement constructors to accept an optional address parameter (defaulting to 0x6A).
  • Updated ModulinoMovement::begin() to instantiate LSM6DSOXClass using the module’s configured address rather than a fixed literal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants