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

Cannot set frequency #1

Open
alex27riva opened this issue May 19, 2019 · 1 comment
Open

Cannot set frequency #1

alex27riva opened this issue May 19, 2019 · 1 comment

Comments

@alex27riva
Copy link

Hi, I want to set 5Hz frequency 65% duty, but I'm getting this: Frequency:90420:DutyA:100:DutyB:100

@shadjiiski
Copy link
Owner

Hey @alex27riva, thanks for giving my project a try. It has been some time so I hope I remember enough to help you.

Anyway, judging by the code 90.42 Hz and 10% duty A and duty B are the default values. In order to get to your desired state, you should send the following message via UART:

5000:650

You should get a response of

Echo:5000:650
Frequency:5000:DutyA:650:DutyB:650

Is this what you are doing? If not, can you describe in more details?

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