====== PUT ====== [[.|retour]] Syntaxe : PUT Ligne,Colonne, Caractère Explication : La commande PUT écrit le caractère ASCII donné à sa place sur le LCD. Exemple : 'A scrolling star for GCBASIC. 'Misc Settings #define ScrollDelay 250 ms 'General hardware configuration #chip 16F877A, 20 #mem 368 'LCD connection settings #define LCD_IO 8 #define LCD_DATA_PORT PORTC #define LCD_RS PORTD.0 #define LCD_RW PORTD.1 #define LCD_Enable PORTD.2 'Main routine FOR StarPos = 0 to 16 If StarPos = 0 then PUT 0, 16, 32 PUT 0, 0, 42 end if if StarPos <> 0 then PUT 0, StarPos-1, 32 PUT 0, StarPos, 42 end if Wait ScrollDelay NEXT Pour plus d'aide, voir : [[const|Constantes Remarquables]]