cangc8-firmware-en
Differences
This shows you the differences between two versions of the page.
— | cangc8-firmware-en [2025/03/01 01:55] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== CAN-GC8 Firmware ====== | ||
+ | [[english|{{ | ||
+ | [[english|Content]] -> [[english# | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * **[[: | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Packet===== | ||
+ | The OPC_ACDAT opcode is used to send text blocks to the CAN-GC8.\\ | ||
+ | The text must be terminated with a zero character.\\ | ||
+ | A new line can be set with the pipe character: ' | ||
+ | |||
+ | ====Format==== | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ====Example Trace==== | ||
+ | < | ||
+ | OText 0171 text event [-][Good |morning %USER%] | ||
+ | OText 0081 try to resolve [USER] | ||
+ | OText 0287 send text [Good |morning rob] | ||
+ | OCBUS 2132 set display 1:1 to "Good |morning rob" | ||
+ | OCBUS 0170 OPC_ACDAT(0xF6) address=1 display=1 line=0 nr=0 text=[Good] | ||
+ | OCBUS 0170 OPC_ACDAT(0xF6) address=1 display=1 line=0 nr=1 text=[ |mo] | ||
+ | OCBUS 0170 OPC_ACDAT(0xF6) address=1 display=1 line=0 nr=2 text=[rnin] | ||
+ | OCBUS 0170 OPC_ACDAT(0xF6) address=1 display=1 line=0 nr=3 text=[g ro] | ||
+ | OCBUS 0170 OPC_ACDAT(0xF6) address=1 display=1 line=0 nr=4 text=[b | ||
+ | </ | ||
+ | {{: | ||
+ | \\ | ||
+ | |||
+ | =====Files===== | ||
+ | ==== Sources ==== | ||
+ | * https:// | ||
+ | |||
+ | ==== HEX ==== | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | =====Links===== | ||
+ | * http:// | ||
+ | |||
+ | \\ | ||
+ | =====I/ | ||
+ | ^ Display 1 ^^ | ||
+ | | SI | RA0 | | ||
+ | | CLK | RA1 | | ||
+ | | CSB | RA3 | | ||
+ | | RS | RA4 | \\ | ||
+ | \\ | ||
+ | ^ Display 2 ^^ | ||
+ | | SI | RC0 | | ||
+ | | CLK | RC1 | | ||
+ | | CSB | RC2 | | ||
+ | | RS | RC3 | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Node Variables ===== | ||
+ | ^ # ^ Description ^ | ||
+ | | 1 | node configuration; | ||
+ | | 2 | CAN-ID | | ||
+ | | 3,4 | Display configuration | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | === Display configuration byte === | ||
+ | ^ Bit ^ Function | ||
+ | | 0-3 | Contrast | | | ||
+ | | 4 | First line double high | | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Node Events ===== | ||
+ | ^ Event# ^ Description ^ Variable ^ | ||
+ | | 0,1 | Display 1,2 | not used | | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | =====SPI===== | ||
+ | |||
+ | {{http:// |