eb500 help?
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
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
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