#
#include
#include
#include
#include "Wire.h"
#include "WiiChuck.h"
Servo servo1; // create servo object to control a servo
Servo servo2;
Servo servo3;
Servo servo4;
// a maximum of eight servo objects can be created
Servo servo5;
Servo servo6;
WiiChuck wii = WiiChuck();
int pos1,pos2,pos3,pos4,pos5,pos6,x,y,z,c;
// variable to store the servo position
void setup()
{
// attaches the servo on pin 9 to the servo object
servo1.attach(8);
servo2.attach(9);
servo3.attach(10);
servo4.attach(11);