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

Add basic support for Public.lua lib #69

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Add basic support for Public.lua lib #69

wants to merge 11 commits into from

Conversation

trentgill
Copy link
Collaborator

Based off pydfu branch.

Enables 1 key new functionality public.view which is used to keep the host (druid) informed of the CV states of the physical crow.

public.view.all() enables tracking of all inputs & outputs. the top-bar status indicator is now somewhat more cramped and won't work well on very narrow screen widths.

NB: the values only update if they have changed by 0.1V and are throttled to ~15fps to avoid too much strain on the usb pipe.

Other changes just filter out public specific ^^ commands so they don't flood the terminal (they are not intended to be user-facing).

Final change is a newline is added after a ^^ command that is printed to the console. Previously there would be no line separation and multiple sequential messages were far harder to observe the changes. Now things are aligned vertically so it's easier to see how a stream of values is changing over time.

Fixes #13

@trentgill trentgill requested a review from tehn May 5, 2021 15:20
@tehn tehn changed the base branch from master to pydfu May 5, 2021 16:43
Base automatically changed from pydfu to master June 22, 2021 15:42
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.

input values not at top of the repl
2 participants