For my final project in AP Comp Sci I'm making a robot using a Pi and an Arduino, I've gotten virtually everything working other than the Pi-Arduino interface.
So I have my Arduino and Pi hooked up using nanpy, as instructed by this guide.
I understand for the most part how the coding works, but how would I call this?
#include <Servo.h>
Servo servoA;
Servo servoD;
int posA, posD;
*The code above is written as if I was programming the Arduino by itself
note - A & D are referring to the WASD scheme I am using to control the Robot
*A & D being keys bound to those servos of course