Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sun May 26, 2013 1:00 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Mar 08, 2006 11:24 pm 
Offline
Roboteer

Joined: Sat Dec 10, 2005 12:58 pm
Posts: 130
Location: Auburn Hills, MI
Im trying to get my ping sensor to work with my BS2 but the sample code that was included with the sensor doesnt work. It keeps giving me syntax errors when it should be. Does anyone have some working code that I could try out just to make sure the sensor it working right?

_________________
If it aint broke, your not trying.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 09, 2006 6:09 pm 
Offline
Robot Guru

Joined: Thu Nov 17, 2005 5:03 pm
Posts: 1672
Location: Monroe Township, New Jersey
Did you try using this?

http://www.parallax.com/detail.asp?product_id=28015

(the zip file near the bottom)

If that's not working, make sure that your declarations in the begining are correct.

I believe that the correct declaration for the regular Stamp 2 is:
Code:
 {$Stamp BS2}
{$PBasic 2.5}


If that's not working... well I can't help.

_________________
Disclaimer: The above person does not claim to have knowledge pertaining to the following subject: anything. Thus, said person may not be held liable for any mishaps/explosions that his advice incurs.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 10:22 pm 
Offline
Roboteer

Joined: Sat Dec 10, 2005 12:58 pm
Posts: 130
Location: Auburn Hills, MI
Thats the same code that came with the ping. But for some reason it works and the stuff that came with it doesnt. Weird, thanks for the post.

_________________
If it aint broke, your not trying.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 03, 2006 2:42 pm 
Offline
Robot Guru
User avatar

Joined: Mon Oct 31, 2005 3:03 pm
Posts: 3598
Location: Houston, Texas
That is weird. can you post the code that came with the ping? There has got to be something missing or a character that is out of place some where in the code.

_________________
Mike

The robotics nut.


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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