Page 1 of 1

Help with converting a simple C function to flowcode?

Posted: Sun Jun 16, 2013 3:50 pm
by Speedy2k
Hi, i need some help at converting some sample function i got to control a Sabertooth 2X25 V2 motor driver.:
http://www.dimensionengineering.com/pro ... rtooth2x25

They have a sample C file that control this driver from a PIC. I have attached their sample file, can someone take a look at it, i don't know C at all so i am completely lost in those sample file. Thanx a lot!

Re: Help with converting a simple C function to flowcode?

Posted: Mon Jun 17, 2013 9:09 am
by Benj
Hello,

Here is a quick example, I have done the first driveforwards1 macro and some of the code from main to speed up the motors.

Hopefully it should be enough for you to proceed with.

Let us know how your getting on.