BradenM / micropy-cli

Micropython Project Management Tool with VSCode support, Linting, Intellisense, Dependency Management, and more!
https://micropy-cli.readthedocs.io
MIT License
316 stars 25 forks source link

Import "bluetooth" could not be resolved #534

Closed UchihaYuki closed 1 year ago

UchihaYuki commented 1 year ago

I can import machine, micropython, etc., but when I import bluetooth, vscode complains that

Import "bluetooth" could not be resolved

I use the following two stub:

{
    "stubs": {
        "micropython-esp32-stubs": "1.19.1.post13",
        "micropython-stdlib-stubs": "0.9.0"
    },

}
BradenM commented 1 year ago

Hi @UchihaYuki.

Please share the information requested in the bug report template, as this snippet is not quite enough to go off of here.