Action disabled: source
cangc8-firmware-fr
Table of Contents
CAN-GC8 Firmware
Paquet
L'opcode OPC_ACDAT est utilisé pour envoyer des blocs texte au CAN-GC8.
Le texte doit être terminé avec un caractère zéro.
Une nouvelle ligne peut être configurée avec le caractère pipe: '|'. Voir Format texte.
Format
<0xF6> <ADDRhi> <ADDRlo> <Flags (block#)> <Txt0> <Txt1> <Txt2> <Txt3>
Exemple de suivi
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 ]
Fichiers
Sources
HEX
Liens
E/S
| Afficheur 1 | |
|---|---|
| SI | RA0 |
| CLK | RA1 |
| CSB | RA3 |
| RS | RA4 |
| Afficheur 2 | |
|---|---|
| SI | RC0 |
| CLK | RC1 |
| CSB | RC2 |
| RS | RC3 |
Variables de Nœud
| # | Description |
|---|---|
| 1 | configuration du nœud; Non utilisé. |
| 2 | CAN-ID |
| 3,4 | Configuration de l'afficheur |
Afficher l'octet de configuration
| Bit | Fonction | Remarque |
|---|---|---|
| 0-3 | Contraste | |
| 4 | Première ligne double hauteur |
Évènements du nœud
| Évènement# | Description | Variable |
|---|---|---|
| 0,1 | Afficheur 1,2 | non utilisé |
SPI
cangc8-firmware-fr.txt · Last modified: 2025/03/07 15:54 by 127.0.0.1

