Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make AddressChanger interactive #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
facchinm merged 1 commit into arduino-libraries:main from Xayton:interactive-address-changer
Jul 24, 2025

Conversation

@Xayton
Copy link
Contributor

@Xayton Xayton commented Apr 27, 2025

The address change is now interactive: you can scan the I2C bus and change the address of each modifiable modulino.
All of this can be repeated without having to recompile the sketch and upload it to the board.

This is an example of output provided by the sketch on the serial:

ADDR	MODULINO	PINSTRAP	DEFAULT ADDR
0x1E Buzzer 0x3C 0x1E 
0x36 Smartleds 0x6C 0x36 
0x37 Smartleds 0x6C 0x36 * 
0x38 Smartleds 0x6C 0x36 * 
0x3C Encoder 0x74 0x3A * 
0x3E Buttons 0x7C 0x3E 
0x50 Smartleds 0x6C 0x36 * 
0x66 Buttons 0x7C 0x3E * 
0x77 Smartleds 0x6C 0x36 * 
Enter the current address, space, and new address (ex. "0x20 0x30" or "20 2A"):
 - Enter "<addr> 0" to reset the device at <addr> to its default address.
 - Enter "0 0" to reset all devices to the default address.
  • devices are recognized either by their (fixed) address or by sending a message and reading the pinstrap result
  • for each device it will also show if the current address has been changed from the default
  • allows to reset the address of a device (or all of them) to the default, by setting the requested address to zero

facchinm reacted with rocket emoji
@Xayton Xayton requested a review from Rocketct April 27, 2025 20:03
@facchinm facchinm force-pushed the interactive-address-changer branch from 37ee89a to 409e6b3 Compare April 28, 2025 06:50
@per1234 per1234 added the enhancement New feature or request label Apr 29, 2025
@facchinm facchinm force-pushed the interactive-address-changer branch from 33a618f to 409e6b3 Compare July 24, 2025 07:50
@facchinm facchinm force-pushed the interactive-address-changer branch from 409e6b3 to 2f3a683 Compare July 24, 2025 07:53
@facchinm facchinm merged commit daa17a1 into arduino-libraries:main Jul 24, 2025
2 checks passed
@Xayton Xayton deleted the interactive-address-changer branch August 16, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Rocketct Rocketct Awaiting requested review from Rocketct

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /