Compile Error

When I try to compile the code for BotBoarduino_CH3R_PS2 I get this error:

'cRRCoxaMin1’was not declared in this scope

This line highlights:

const short cCoxaMin1] PROGMEM = {cRRCoxaMin1, cRMCoxaMin1, cRFCoxaMin1, cLRCoxaMin1, cLMCoxaMin1, cLFCoxaMin1};

I put the PS2X_lib.h file in the Arduino libraries directory, but that didn’t change anything. Thanks for any help.

You need to install the library by copying the PS2X_lib folder into the Arduino/Libraries folder:
github.com/Lynxmotion/Arduino-PS2X/tree/master/PS2X_lib

Then, relaunch Arduino and open the code from the File>Examples menu

O.K. I got the code to compile and uploaded to the BotBoarduino. Thanks for your help. Now I don’t have any flashing lights on the SSC-32 board, I got one that stays on, so I’m thinking that the boards aren’t communicating. I’ve set the baud to 38400 on the SSC-32 and I’ve commented this line out just in case mine doesn’t support binary mode.

#define cSSC_BINARYMODE 1 // Define if your SSC-32 card supports binary mode.

Getting late here so I will double check tomorrow to see if I have overlooked something. Once again, thanks for the help.

O.K. now the light on the SSC-32 is flashing. I put the red RX wire on pin 12 and the yellow RX wire on pin 13 like it says in Step 4, but the Schematic clearly shows that the red RX wire is on pin 13 and the yellow RX wire is on pin 12,(this is the way that I originally had it) this is on the BotBoarduino side. The robot still does not move around. I have not calibrated the robot yet, but according to Step 6 it should move around before it is calibrated, so I have to assume something else is wrong somewhere. Thanks for any help.

You really should update your SSC-32 to the binary firmware. You can find this firmware here. You will need to download the Lynxterm software.
I have never personally used the BotBoarduino CH3-R code without having updated the SSC-32’s firmware…

Best of luck!