Movatterモバイル変換


[0]ホーム

URL:


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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

Xayton
Copy link
Contributor

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:

ADDRMODULINOPINSTRAPDEFAULT ADDR0x1E    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
@XaytonXayton requested a review fromRocketctApril 27, 2025 20:03
@facchinmfacchinmforce-pushed theinteractive-address-changer branch from37ee89a to409e6b3CompareApril 28, 2025 06:50
@per1234per1234 added the enhancementNew feature or request labelApr 29, 2025
@facchinmfacchinmforce-pushed theinteractive-address-changer branch from33a618f to409e6b3CompareJuly 24, 2025 07:50
@facchinmfacchinmforce-pushed theinteractive-address-changer branch from409e6b3 to2f3a683CompareJuly 24, 2025 07:53
@facchinmfacchinm merged commitdaa17a1 intoarduino-libraries:mainJul 24, 2025
2 checks passed
@XaytonXayton deleted the interactive-address-changer branchAugust 16, 2025 13:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@RocketctRocketctAwaiting requested review from Rocketct

Assignees
No one assigned
Labels
enhancementNew feature or request
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Xayton@per1234@facchinm

[8]ページ先頭

©2009-2025 Movatter.jp