pyboard not working

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
Posts: 4
Joined: Sun Aug 04, 2019 4:19 pm

pyboard not working

Post by WaterLee » Thu Aug 08, 2019 9:23 am

I have built a self-balancing robot based on pyboard. I use PWM to control DC motor and UART to get the attitude data from a specific module. The problem is that when I use the repl to test my code, everything is OK, but when I transfer the code to the SD card, the motor and the attitude data don't work.

User avatar
Posts: 1678
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: pyboard not working

Post by jimmo » Thu Aug 08, 2019 11:22 am


Can you provide more information -- does your program execute at all, or just fail to control the PWM and UART?

If you write a simple that just flashes the LED and put it on the SD card, does that work?

What if you use internal flash rather than the SD card?

Post Reply