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

Accept binary data over USB serial #35

Open
ehuegler opened this issue Mar 15, 2023 · 0 comments
Open

Accept binary data over USB serial #35

ehuegler opened this issue Mar 15, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ehuegler
Copy link
Collaborator

The communication speed could be increased for large numbers of instructions by allowing binary data to be sent over the serial interface.

The easiest way to implement this would be to send over the actual instruction commands that the pico programs into memory. This would require a substantial duplication of the instruction creation logic into some sort of wrapper for the pico.

Another option would be to define a binary API that the pico interprets and uses its own instruction creation logic. This would make it easier to generate the binary necessary for a sweep. You would just need to be careful about handling the raw binary for floating point numbers.

@ehuegler ehuegler added the enhancement New feature or request label Mar 15, 2023
@dihm dihm added this to the Stretch milestone Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants