Shop OBEX P1 Docs P2 Docs Learn Events
eb500 help? — Parallax Forums

eb500 help?

RaveboiRaveboi Posts: 1
edited 2006-03-24 15:45 in BASIC Stamp
Hey, i may have stumbled into the wrong forum but we'll see what happens.
I got 2 chips and am ready to send data to one another, problem is that most of the code doesn't make a whole load of sense to me. Ih ave read a bit of it. Can anyone help by guiding me in the correct direction as to light an LED via the eb500 on the other bread-board?

thanks

Comments

  • JonathanJonathan Posts: 1,023
    edited 2006-03-24 15:45
    RaveBoi,

    Assuming you have the EB500's powered and connected to Stamps:

    Start a connection from one to the other. You will need to know the address of the unit you are connecting to. Isssue a "con ***device address***" command from the one that will connect to the other.

    Once the green light goes on, you have a connectin. Now you can simply pass serial data like you would to any other device. Send a byte to the second EB500. Write a loop that waits for this command, then turns on/off the LED.

    Try it out, and feel free to ask more specific questions. It's hard to help when we don't know what you have tried already.

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Sign In or Register to comment.