react-hardware icon indicating copy to clipboard operation
react-hardware copied to clipboard

Servos

Open iamdustan opened this issue 9 years ago • 2 comments

I took the tests modified from #17 but modified for a flattened API.

After experimenting with the firmata API directly I’m fairly convinced that exposing servoConfig as a property in any capacity would be a weak DX. Additionally, from looking at other libraries built on top of firmata they often introduced other concepts.

min/max may not be the best terms for this and I still don’t have a really solid grasp on how the min/max and writing a value interact (I think the servo I’m testing with needs to be calibrated or I just need to learn more about how hardware and electronics work).

The initial Servo implementation is pretty barebones as well. In due time we may very well want to introduce transition timing properties to it.

iamdustan avatar Jun 15 '16 02:06 iamdustan

Should probably export the Servo component in src/componnets/index.js too.

edvinerikson avatar Jun 15 '16 16:06 edvinerikson

I knew I was much too tired while working on this. Thank you for the keen eyes, @edvinerikson.

iamdustan avatar Jun 16 '16 10:06 iamdustan