Hello. I have an L298P and Arduino Leonardo that I’m trying to use to drive a stepper motor, but I keep getting this error:
"Arduino: 1.8.1 (Windows 10), Board: “Arduino Leonardo”
Probeer_shield:112: error: two or more data types in declaration of ‘setup’
C:\User\Documents\Arduino\Probeer_shield\Probeer_shield.ino:11:11: warning: ISO C++ forbids declaration of ‘MotorsOff’ with no type [-fpermissive]
exit status 1
two or more data types in declaration of ‘setup’"
Any idea what could be causing this?
Probeer_shield.ino (2.39 KB)