Skip to content

Downloading a program using javascript #1942

Answered by dlech
romw314 asked this question in Q&A
Discussion options

You must be logged in to vote

There is no library. You can look at the Pybricks Code source code for inspiration.

The download and run logic is here: https://github.com/pybricks/pybricks-code/blob/master/src/hub/sagas.ts

And most of the WebBluetooth stuff is here: https://github.com/pybricks/pybricks-code/blob/master/src/ble/sagas.ts

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@dlech
Comment options

@romw314
Comment options

@dlech
Comment options

@romw314
Comment options

@romw314
Comment options

Answer selected by romw314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants