Skip to content

Commit

Permalink
update LISY protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdoa2 committed Jul 14, 2019
1 parent d8f38bb commit a5024af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hardware/lisy/protocol.rst
Expand Up @@ -612,7 +612,8 @@ Content encoding depends on the type of the display (from command 0x7).
:widths: 10, 10, 10, 30

"0", "1", "30 + d", "Command byte for set segment depending on segment number ``d``"
"1", "``sw(sd) * bs(st)``", "Number of segments (0-255) multiplied by bytes per segment for this display (1 or 2 bytes)", "One or two bytes per segment for all segments. Encoding depends on segment type (see command 0x7)."
"1", "1", "``sw(sd) * bs(st)``", "Bytes which will follow. Number of segments (0-127) multiplied by bytes per segment for this display (1 or 2 bytes)."
"2", "``sw(sd) * bs(st)``", "Number of segments (0-127) multiplied by bytes per segment for this display (1 or 2 bytes)", "One or two bytes per segment for all segments. Encoding depends on segment type (see command 0x7)."

Example:

Expand All @@ -621,7 +622,8 @@ Example:
:widths: 10, 10, 10, 30

"0", "1", "31", "Command 31 - Set Segment display 1"
"1", "12", "Hello World!", "Set display1 to hello world (ASCII type display)"
"1", "1", "12", "12 Bytes will follow"
"2", "12", "Hello World!", "Set display1 to hello world (ASCII type display)"

No response is expected.

Expand Down

0 comments on commit a5024af

Please sign in to comment.