Finch vibration API is cryptic
Issue #76
new
Currently, the API for the vibration motor is:
setVolume(volume)
"Sets the intensity of a vibration motor volume - "v1" followed by the intensity for vibration port 1, "v2" followed by the intensity for vibration port 2 Example: "v1255" (sets vibration port 1 to 255), "v20" (sets vibration port 2 to 0), "v225" (sets vibration port 2 to 25)."
But that is pretty cryptic. Why not setVolume((1, 255))?
Comments (2)
-
reporter -
reporter - marked as minor
- Log in to comment
One fix: changed setLED(pos, value) to allow a IList as values... should probably make that a Color to be consistent.