Shop OBEX P1 Docs P2 Docs Learn Events
Tracker sensor. — Parallax Forums

Tracker sensor.

BS22BS22 Posts: 3
edited 2005-07-22 22:15 in Robotics


Post Edited (BS22) : 7/28/2005 4:40:21 PM GMT

Comments

  • MacGeek117MacGeek117 Posts: 747
    edited 2005-07-21 00:32
    You might have more help if you make that program an attachment.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229


    Toddler: $249

    Learning Google is your friend: priceless
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-22 01:45
    ·· It is very difficult to help you with this since there is very little information on this product.· It seems like a Lynxmotion product.· Have you contacted them for support?· One thing to note about your code is that you do some redundant things in your code, such as making a pin HIGH, then doing it again a few instructions later.· For example:

    Start:
      HIGH aEnable     <-------This pin is not HIGH
      HIGH aInputPlus
      LOW aInputMinus
      PAUSE 0
      HIGH aEnable     <-------No need to make it HIGH again since it hasn't changed
      HIGH bEnable     <<---This pin is now HIGH
      HIGH bInputPlus
      LOW bInputMinus
      PAUSE 0
      HIGH bEnable     <<---And again?
    
    

    ·· Other than that the code would appear to work logically if the device was wired according to specs and the hardware was functioning properly.· You really should test it in stages instead of trying to make everything work at once.· If this is known working code for this device, then something else is wrong, and you should definately contact the place of purchase for support.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-22 15:49
    Hello,

    ·· Have you contacted Lynxmotion for support?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-22 18:52
    Okay,

    ·· So you haven't tried his suggestion then?· If you aren't willing to try what the product manufacturer suggests, then I'm not sure what anyone else would be able to offer.· Lynxmotion would know their product better than anyone here would.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-22 22:15
    Well,

    ·· That may be too...If this is code you wrote then I guess the question is, does Lynxmotion have code for this product which you can download and try to see if it is a coding issue?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.