You can clone with
HTTPS or Subversion.
Moving motors with an H-bridge is very popular, especially with simpler/cheaper kits. It is the main solution when a servo or a stepper won't do.
I have the popular SN754410 on my rig but all H-bridges work the same. For one motor, you'll have a dual H-bridge that has a clockwise, counter clockwise and optional brake signal. A quad just lets you control 2 motors.
I'm planning on copying the style of motor.js. How does that sound?
Ive hacked up something related here for this controller: http://www.dfrobot.com/wiki/index.php/MD1.3_2A_Dual_Motor_Controller_(SKU:_DRI0002).
Thats the only time Ive actually used motors with johnny-five so I cant say if there is support for this kind of stuff lying anywhere else.
@divanvisagie take a look at this: #216 . I'm going to test this patch a bunch today so that we can start adding motor "device" entries—let me know your thoughts :)
Looks like It could work , will start testing with my controller once the patch is merged and see if it supports H-Bridge out the box.
I put together my own hbdrige.js too. I'll probably refactor it to require motor.js and support a configurable amount of motors for implementations, like the wild thumper.
@rwaldron awesome, I agree on the "devices" field. I still would like to see a configurable number of motors.
I think this is covered by #367 and can be closed.
Let's close and if there are issues, we can always re-open