View: 547|Reply: 0

no module named 'machine'

[Copy link]

1

Threads

1

Posts

5

Credits

Newbie

Rank: 1

Credits
5
Post time 2025-1-6 20:51:02 | Show all posts |Read mode
I've fallen at the first hurdle. Before building the 4WD Omni-directional Mecanum Wheels Robotic Car you have to turn the servo motor by 90 degrees, but the python script provided returns the error:

ModuleNotFoundError: no module named 'machine'

I'm running the script directly from the Pico and pre-installed micropython on it.

I noticed none of the YouTube videos on building the robot go through this stage of turning the servo motor first despite the instructions saing to do so.
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules