See: https://github.com/wemos/WEMOS_Motor_Shield_Arduino_Library/issues/1 Possible solution: Reprogram STM32 on the shield: https://hackaday.io/project/18439-motor-shield-reprogramming Can be done only with wemos: https://github.com/thomasfredericks/wemos_motor_shield