I was getting a lil ahead of myself there with “if” statements right now. I think i need to concentrate on my PS2 controller dilemma.
Ok so after doing some reading and some looking up i found out that the numbers after the buttons on the library.h for the arduino part are the byte packets sent through the serial.
My question is… If the bytes sent are in this exampl… 0x0000 and the pololu needs commands like this example 0x00. Do i need to set the byte packets sent the latter protocol or will the Pololu automatically understand the command.
Ok the first byte sent should be the Baud rate in Pololou protocol?
In my PS2 handle code it sets the serial baud rate to 57600, does this number need to be changed to pololu command protocol or does it always have to recieve 0xAA