Lynxmotion Tech Support

www.lynxmotion.com
Join the Accelerator Program
It is currently Thu Jun 20, 2013 1:23 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Compile Error
PostPosted: Sun Sep 30, 2012 9:13 pm 
Offline
Roboteer

Joined: Sat Jun 12, 2010 2:39 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: Compile Error
PostPosted: Tue Oct 02, 2012 11:05 am 
Offline
Roboteer
User avatar

Joined: Thu Aug 30, 2012 5:22 pm
Posts: 47
You need to install the library by copying the PS2X_lib folder into the Arduino/Libraries folder:
https://github.com/Lynxmotion/Arduino-PS2X/tree/master/PS2X_lib

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

_________________
Carlos Asmat
Lynxmotion

Imagine it. Build it. Control it.™
http://www.Lynxmotion.com


Top
 Profile  
 
 Post subject: Re: Compile Error
PostPosted: Tue Oct 02, 2012 10:25 pm 
Offline
Roboteer

Joined: Sat Jun 12, 2010 2:39 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: Compile Error
PostPosted: Thu Oct 04, 2012 3:33 pm 
Offline
Roboteer

Joined: Sat Jun 12, 2010 2:39 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: Compile Error
PostPosted: Fri Oct 19, 2012 12:16 pm 
Offline
Arduino Wizard-in-Training
User avatar

Joined: Thu Sep 09, 2010 4:56 pm
Posts: 252
Location: I don't even know
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!

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group