Skip to content

Allow max angle limit of 0 for stepper mode#8

Merged
alessiodam merged 1 commit into
alessiodam:mainfrom
ligaz:patch-1
May 13, 2026
Merged

Allow max angle limit of 0 for stepper mode#8
alessiodam merged 1 commit into
alessiodam:mainfrom
ligaz:patch-1

Conversation

@ligaz
Copy link
Copy Markdown
Contributor

@ligaz ligaz commented Apr 29, 2026

According to their documentation in STS3215_Memory_Table_EN.xlsx: "When operating in mode 3, the minimum and maximum angle limits for 0x9 and 0xB must be set to 0; otherwise, infinite stepping is not possible.".

However when I try to set the max angle to 0 there is an error because there is a validation that the angle should be greater or equal to 0. This change relaxes this limitation.

According to their documentation in [STS3215_Memory_Table_EN.xlsx](https://github.com/alessiodam/python-st3215/blob/main/documents/STS3215_Memory_Table_EN.xlsx): _"When operating in mode 3, the minimum and maximum angle limits for 0x9 and 0xB must be set to 0; otherwise, infinite stepping is not possible."_. 

However when I try to set the max angle to 0 there is an error because there is a validation that the angle should be greater or equal to 0. This change relaxes this limitation.
@alessiodam alessiodam merged commit 6e04941 into alessiodam:main May 13, 2026
2 checks passed
@alessiodam
Copy link
Copy Markdown
Owner

Hello, thanks for your contribution!

@alessiodam
Copy link
Copy Markdown
Owner

Your changes have been published in v1.2.1!

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