Main Site Documentation

BrainPad micropython PWM


Hi, everyone! I am a newer with BrainPad and micropython and need help now. When I try run machine.PWM, according micropython manual it raise exception File “”, line 1, in
AttributeError: ‘module’ object has no attribute ‘PWM’. Who is familiar with that or have an idea, please, help me!


What version of TInyClr is installed on your BrainPad?


@duma_a - I have not used micorpython at all, the only thing I would ask is did you include the “import machine” statement at the top of your source file?


of course! problem with configuration machine in the library