Asked — Edited

What Is The C# Code To Make The Roli Move Forward,Reverse,Left &Amp; Right?

I have gone through the tutorials in the EZ-Robot C# SDK file. I am unable to find the coding to move the wheels. Can you please help me by giving me the codes?


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

#2  

Hi DJ Sures. I have tried the file you provided. When I debugged it, only one wheel was working and it was going in one direction. I have changed the digital ports in the C# file and tried. Still the same. But in ARC, both wheels are working & moving in different directions. I have provided the ARC file. Can you please help me rectify my problem?

Thanks in advancce.FYPRevolutionRoli.EZB

#3  

I am sure that DJ sent you a chunk of code to show you how to make it move. It is up to you if you are using the SDK to write the code to make it work like you want it to.

#4  

DJ Sures, sorry I forgot to upload the file. I ve updated my 2nd last comment. Can u pls check. I have uploaded the file there.

PRO
Synthiam
#5  

Check to ensure the PWM is set on both pins

United Kingdom
#7  

It may pay to become familiar with the L298n H-Bridge too, how it works, what each of the ports does etc.

I wrote a pretty detailed explanation and tutorial on the L298n H-Bridge a while back. It's simple to follow and should explain everything clearly, it also includes the truth tables to help you understand what causes each motor to move in certain ways.

Have a read of this topic

#8  

DJ Sures, Rich & cochran. I have tried many ways. I still get the same result. Only right wheel is working. But in ARC, both wheels move. Pls help?