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

Report rollershutter state to controller #8

Open
guillebot opened this issue Nov 12, 2018 · 0 comments
Open

Report rollershutter state to controller #8

guillebot opened this issue Nov 12, 2018 · 0 comments

Comments

@guillebot
Copy link

I added a single variable and uncommented your code and its working

// send % progression for controller widgets static uint8_t oldpos=getPosition(); newpos=getPosition(); if (abs(oldpos-newpos)>0 && getCalibrationState()==0) { send(msgShutterPosition.set(newpos)); //send(msgPercent.set(newpos)); oldpos=newpos; }

would you be interested in a pull request?

let me know

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

1 participant