When a mode is assigned to e.g. a gyro sensor, the reading could be formatted as HHH (for pitch, rol, yaw). The hub could send data to the sensor to set specific registers in the sensor. This could be e.g. BB for (register, value).
return_format not clear for which direction this is.
Proposal: optional format, or use empty string when format is not used.
To do:
There are also modes that are only used to send messages frpom hub to pup, and not the otherway arround. Make command=Null and format_pup_to_hub=''
https://github.com/antonvh/PUPRemote/blob/7cffd7331b237a5f96c6d25186238bdeab2b913b/LPF2/pupremote.py#L48
When a mode is assigned to e.g. a gyro sensor, the reading could be formatted as HHH (for pitch, rol, yaw). The hub could send data to the sensor to set specific registers in the sensor. This could be e.g. BB for (register, value).
return_format
not clear for which direction this is.Proposal: optional format, or use empty string when format is not used.
Example:
To do: There are also modes that are only used to send messages frpom hub to pup, and not the otherway arround. Make
command=Null
andformat_pup_to_hub=''