Using MicroPython (PyBoard V1.1) with Visual Studio Code
Warning This still isn’t working as I think it should. Especially the linting and autocomplete still doesn’t work (leaving only the PyMakr module which works partly, in fact). For example: import pyb still does not add autocompletion when typing something like s = pyb.<CTRL + SPACE>. Most likely this is because I used a combinations of tools that shouldn’t be used together. Need to spend more time on this…
Intro I’ve recently started using a PyBoard for a project that I am working on. Writing code in an IDE, saving the files, then manually copying them to the board to test them gets tedious rather quickly. If you’re using Visual Studio Code, there are options to do almost everything from within the IDE itself. Getting things to work as they should took a bit of effort and head scratching. What I needed to do is documented below.
Links to the sources of my information is at the bottom.