Hi,
I want to control some motors with the adafruit motor shielt in combination with the Wemos D1. The shield is powered with an external 12v battery. I use the Arduino IDE 1.8.3 with the AFMotor libary and the sketch "MotorParty". The DC motor is wired to M1 and for starters I would like to see that DC motor running.
When I select the WeMos D1 Board in the manager and try to compile it, it says the folloing error. Does someone has a clue why? Or more important can i use the DK electronics motorshield + Wemos D1 together?
Arduino: 1.8.3 (Windows 7), Board: "WeMos D1(Retired), 80 MHz, 921600, 4M (3M SPIFFS)"
Build-Optionen wurden verändert, alles wird neu kompiliert
In file included from D:!!! wichtig\Arduino\asdf\asdf.ino:3:0:
C:\Program Files (x86)\Arduino\libraries\AFMotor/AFMotor.h:9:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
exit status 1
Fehler beim Kompilieren für das Board WeMos D1(Retired).
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Thanks for any response.