Sabretooth Newbie Question

Everyone,

First off Hello I am new to the forums.

Second I apologize for what might seem like a stupid question but I have been at this for several hours and might have Tired / Tunnel Vision :slight_smile:

I am working with an UNO R3 with a Wii Mote , USB Host Shield, Bluetooth Dongle and Sabretooth 2x25 motor controller.

I will attach my code.

I have got all the directions and such working my only issue is if I try to do a IF / ELSE statement like for the arms with the wheel I keep getting a lot of Blinking / Jittering with the Sabretooth.

If I put the Motor stop commands at the End of the loop I get the same result.

I should also state that if I only do one direction and comment the rest out it works.

So I will include the Code and any advice would be greatly appreciated.

Thanks,

Michael

EARLTEST5232016.ino (2.83 KB)

I will attach my code.

Please read this before posting a programming question and post it here to make it easier to access.