peterhinch / micropython-filters

Digital filters impemented in MicroPython's inline ARM Thumb assembler (e.g. Pyboard, RP2).
MIT License
64 stars 13 forks source link

lpf.py on VS code #3

Open bf194 opened 2 years ago

bf194 commented 2 years ago

I am trying to make an lpf FIR filter run on my pico pi. I use VS code and the examples from your filter project. In VS Code I am not able to get rid of the import error on "from fir import fir". Reading several days on internet, I read a lot concerning import problems. Local imports seem to be a trouble on VS Code, so mine do as well! Do somebody know a solution? I tried extra python paths, ini.py file etc. Nothing advised on the internet makes this local import possible. However, in Thonny it works (after saving fir.py to the pico pi). My python is 3.10.2 and my VS code is 1.71.2 + PYLANCE, PICO-W-GO. Can somebody hint me?

peterhinch commented 2 years ago

I'm sorry, I'm a command-line guy and haven't used any of these IDE's. You may get more help if you raise the topic in discussions.