Skip to content
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

Extend servo drive time #1

Open
lianga1 opened this issue Nov 30, 2023 · 1 comment
Open

Extend servo drive time #1

lianga1 opened this issue Nov 30, 2023 · 1 comment

Comments

@lianga1
Copy link

lianga1 commented Nov 30, 2023

I flash the code to my light controller. But I found that the servo can only turn an angle (about 40 degrees). I would like to get to know whether the time of driving the servo can extend a little so that it can touch my light switch more efficently. Thanks.

@lisir233
Copy link
Owner

lisir233 commented Dec 1, 2023

Thank you for your question.In the app_driver.c file, the SERVO_EXECUTION_TIME macro is used to set the power supply time for servo action execution. By default, this value is set to 110ms. The servo's execution angle can be configured in Rainmaker. However, increasing the servo's execution time can result in increased power consumption. It is strongly recommended to achieve the desired effect by adjusting the installation method rather than modifying this macro.

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

No branches or pull requests

2 participants