teletype support for crow #55
Comments
|
edit: none of this is required now that crow has native support for 'teletype volts' in the descriptor language. ///////////////////////////// purpose is to allow TT familiar users to have a way to treat values in crow the same as they do in TT without worrying about the transformations they hide: note the i2c driver will truncate floating point values, so this lib might need to add 0.5 after confirming the rounding behaviour or TT. this will be deprecated after #49 is complete. |
|
i can help with the teletype side of things once the supported messages are finalized. |
crow is able to be queried by another i2c leader device. teletype is the clear companion device who would lead crow, so the TT project must be updated with hooks for the actions.
This should be implemented for a single crow device first.
Afterwards we can consider how to handle multiple crow devices. This could be sequential input/output numbers (ie
CROW.OUT 5would refer to the first output of the second device, vsCROW.2.OUT 1orCROW.OUT 2 1etc).Proposed initial functions are listed in lua form: https://github.com/trentgill/crow/blob/aa45d96a322f6c818e84a98bc2d69b58a189ed45/lua/ii.lua#L38
and TT form: https://github.com/trentgill/crow/blob/aa45d96a322f6c818e84a98bc2d69b58a189ed45/lua/ii.lua#L67
All the generic functions should send /receive int16 values.
The text was updated successfully, but these errors were encountered: