HOW DO I HANDSHAKE A LYNXMOTION AL5D ARM WITH A VEX CORTEX?Question:
How do I make my Lynxmotion Robotic Arm talk to a VEX Cortex?
The actual wiring is easy, and so is the programming. Let me break the answer up into sections:
How do I receive a signal on a Cortex from the SSC-32 (Lynx Robot) in RobotC?
One way to do it is shown in the example below. A machine is waiting for a signal from the robot. The €œwhile€ statement in the program below is not necessary, just an added bonus as a start switch. NOTE THE COMMENTS BELOW FOR HOW THE WIRING GOES!
How do I send a signal from the Cortex to the SSC-32 in RobotC?
It is definitely best to set a to either 1 or 0 and make it a Digital Output! Any other way and the signal will be backwards. Notice that you can check the value of the signal in the debugger window. Notice that there is only one =. This sets the value. == means compare…..
How do I make it talk back and forth?
See the picture below. Please read the comments too!