Add basic support for Public.lua lib #69
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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