Am Dienstag, 3. Juni 2014 10:35:07 UTC+2 schrieb [email protected]: > > As I said I need to control my 6 motors with H bridges. For it I use 12 > GPIOs as outputs for the H bridges and 6 GPIOs as inputs to detect with > encoders when my motors take a round. > My BBB is on Angstrom and I program in C. >
In that case it's best to use libpruio <http://beagleboard.org/project/libpruio/>. You can configure the pins (getting an error message when locked by the system) and control them (input and output) in an easy and fast manner. See stepper.c source code <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/stepper_8c_source.html> as an example. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
