pyboard not working
pyboard not working
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.
Re: pyboard not working
Hi,
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 main.py 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?
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 main.py 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?