Modifications

Sauter à la navigation Sauter à la recherche
790 octets ajoutés ,  27 juillet 2014 à 13:51
Ligne 31 : Ligne 31 :  
* '''Block cursor off''' - 0xFE 0x54 - Désactive le curseur "bloc clignotant".
 
* '''Block cursor off''' - 0xFE 0x54 - Désactive le curseur "bloc clignotant".
   −
RGB Backlight and LCD size
+
== Rétroéclairage RGB et taille du LCD ==
    +
* '''Set RGB Backlight Color''' - 0xFE 0xD0 - initialise les composantes rouge (''red''), vert (''green'') et bleu (''blue'') du rétro-éclairage. Les valeurs des couleurs doivent évoluer entre 0 et 255 (un octet/byte). La couleur est sauvée dans l'EEPROM. Chacune des couleurs R, G et B est représenté dans un byte/octet juste après la commande. Pour fiixer le rétro-éclairage à rouge, il faut envoyer la commande 0xFE 0xD0 0xFF 0x0 0x0. En bleu c'est 0xFE 0xD0 0x0 0x0 0xFF. En blanc c'est 0xFE 0xD0 0xFF 0xFF 0xFF.
 +
* '''Set LCD size''' - 0xFE 0xD1 - Cette commande permet d'indiquer au backpack la taille de l'écran qui lui est attaché. Cette valeur est sauvé dans l'EEPROM et par conséquent, cette opération ne doit être réalisé qu'une seule fois.
   −
* '''Set RGB Backlight Color''' - 0xFE 0xD0 - Sets the backlight to the red, green and blue component colors. The values of can range from 0 to 255 (one byte). This is saved to EEPROM. Each color R, G, and B is represented by a byte following the command. Color values range from 0 to 255. To set the backlight to Red, the command is 0xFE 0xD0 0x255 0x0 0x0. Blue is 0xFE 0xD0 0x0 0x0 0x255. White is 0xFE 0xD0 0x255 0x255 0x255.
+
== Caractères personnalisés ==
* '''Set LCD size''' - 0xFE 0xD1 - You can configure the backpack to what size display is attached. This is saved to EEPROM so you only have to do it once.Custom Characters
+
* '''Create custom character''' - 0xFE 0x4E - Crée un caractère personnalisé dans un emplacement de stockage donné (une position). Cette position doit être entre 0 et 7 (8 il y a 8 emplacements mémoire pour stocker des caractères personnalisés). 8 octets.bytes sont envoyés pour indiquer au backpack comment il doit être affiché.
* '''Create custom character''' - 0xFE 0x4E - this will create a custom character in spot . can be between 0 and 7 (8 spots). 8 bytes are sent which indicate how the character should appear
+
* '''Save custom character to EEPROM bank''' - 0xFE 0xC1 - Sauver le caractère personnalisé dans une ''bank'' de l'EEPROM pour pouvoir les réutiliser plus tard. Il y a 4 ''bank' de stockage et 8 positions par ''bank''.
* '''Save custom character to EEPROM bank''' - 0xFE 0xC1 - this will save the custom character to EEPROM bank for later use. There are 4 banks and 8 locations per bank.
+
* '''Load custom characters from EEPROM bank''' - 0xFE 0xC0 - Cela charge les 8 caractères sauvés dans une ''bank'' de l'EEPROM dans la mémoire du LCD.
* '''Load custom characters from EEPROM bank''' - 0xFE 0xC0 - this will load all 8 characters saved to an EEPROM bank into the LCD's memoryGeneral Purpose Output
     −
The general purpose outputs are 4 pins that are not used by the backpack, you can set these pins high or low.GPO1 is labeled PB0, GPO2 is labeled PC2, GPO3 is labeled PC4 and GPO4 is PC7
+
== Les sorties d'usage Général ==
 +
Comme il ne s'agit que de sorties, ces dernières sont appelées GPO pour ''General Purpose Output''.
   −
* '''GPO Off''' - 0xFE 0x56 - set the general purpose pin to LOW (0V)
+
Il reste 4 broches non utilisés par le backpack, elles sont mises à disposition à l'arrière (en breakout) et vous pouvez les passer au niveau haut ou bas.
* '''GPO On''' - 0xFE 0x57 - set the general purpose pin to HIGH (5V)
+
 
* '''GPO Start State''' - 0xFE 0xC3 - sets the 'initial' stae of the GPO pin Not handled!
+
Voici la correspondance GPOx et libellé sur la carte.
 +
* Le GPO1 porte le libellé PB0,
 +
* Le GPO2 porte le libellé PC2,
 +
* Le GPO3 porte le libellé PC4,
 +
* Le GPO4 porte le libellé PC7
 +
 
 +
* '''GPO Off''' - 0xFE 0x56 - Le niveau logique du GPOx est placé au niveau BAS/LOW (0V)
 +
* '''GPO On''' - 0xFE 0x57 - Le niveau logique du GPOx est placé au niveau HAUT/HIGH (5V)
 +
* '''GPO Start State''' - 0xFE 0xC3 - Initialise l'état 'initial' de la broche GPO  
 +
 
 +
== Fonctionnalités non supportées ==
    
* '''Set auto-line-wrap on''' - 0xFE 0x43- and '''Set auto-line-wrap off''' - 0xFE 0x44- are not supported. We found that having auto-line wrap off was just not very useful so its automatically on all the time.
 
* '''Set auto-line-wrap on''' - 0xFE 0x43- and '''Set auto-line-wrap off''' - 0xFE 0x44- are not supported. We found that having auto-line wrap off was just not very useful so its automatically on all the time.
29 837

modifications

Menu de navigation