T
T
true2022-03-12 17:16:12
JavaScript
true, 2022-03-12 17:16:12

How does this IDE send a file via USB to the MK?

this page somehow sends a line of js code to mk via usb
https://www.espruino.com/ide/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2022-03-12
@vabka

Via bluetooth or serial - the browser has the appropriate APIs to ask the user to access external devices.
https://developer.mozilla.org/en-US/docs/Web/API/W...
https://developer.mozilla.org/en-US/docs/Web/API/W...

R
rPman, 2022-03-12
@rPman

chromium feature - web serial (there is also web bluetooth)
https://habr.com/ru/company/amperka/blog/263505/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question