Issues debugging Example (RGB LED) on Visual Studio Code

  • Hi all.

    I am new working with Lopy modules. This is the reason why I star learning from Pycom examples.

    When I Sync the RGB LED examples everything works well. But, when I try to check using the debugger something strange happens.

    When I run the code-line number 2 (import pycom), an error appear on the window: ModuleNotFoundError: No Module named 'pycom'. This is impossible because; why the code works when I Sync the file?, and, why I does not work when I debbug it?. See the figure below.


    Thanks. Kind regards,


Pycom on Twitter