We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Using PWM Expansion Module to dim LEDs



  • In the the tutorial, the following line is in the code.

    from motors import OmegaPwm

    When I run the program, I get the error

    "Can't find motors to import"

    I assume this means that I haven't installed the right opkg yet, but I can't figure out which opkg it is.



  • Did you read the section on PWM and Python?

    The name of the package is pyPwmExp and to call it you need to use:

     from OmegaExpansion import pwmExp
    

    I think you might be reading the wrong documentation.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.