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.

    0_1506438466873_d2356937-b47f-49d2-8cfb-31abab66f991-image.png

    Thanks. Kind regards,

    Luis



Pycom on Twitter