Asked — Edited
I used the L293 module connected to arduino, the ultrasonicsensor to make the rotbot automatically avoid obstructions, so when I turned
the arduino into ez-b, I could connect it to L293, the ultrasonic sensor and do that project withez-cript similar to the code C++ II wrote and it doesn't seem to work?
Related Hardware Arduino Genuino Uno
Upgrade to ARC Pro
Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.
I would start by following the tutorial on connecting an arduino to ARC. If you look at the synthiam's arduino uno hardware page in the getting started guide, there are specific step-by-step instructions.
Here's my recommendation
1) Program the Arduino Uno with latest firmware to turn it into an EZ-B: https://synthiam.com/Hardware/Arduino-Genuino-Uno-17527
2) Follow the steps on the above link to connect ARC to the Arduino Uno via USB
3) Add the PWM HBridge Movement Panel to your ARC project and specify the ports in the config for your sheild: https://synthiam.com/Software/Manual/4-Wire-HBridge-PWM-16067
4) Add any of the ultrasonic controls that best suits your requirement for navigation. Simple obstacle avoidance could be done with this: https://synthiam.com/Software/Manual/Ultrasonic-Radar-16101