lib_LCD_oem http://www.lextronic.fr/P764-afficheur-4-x-20-caracteres-retro-eclaire-vert.html YSI

Dependents:   lib_LCD_oem_example libs_YSI_example TP3exo1

Committer:
YSI
Date:
Tue Jan 21 12:14:07 2014 +0000
Revision:
1:5e038c0d111f
Parent:
0:1323ab32b8ca
Child:
2:257f4b2da21a
lib_LCD_oem

Who changed what in which revision?

UserRevisionLine numberNew contents of line
YSI 0:1323ab32b8ca 1 /** LCD oem ELCD class
YSI 0:1323ab32b8ca 2 * Utilisée pour écrire sur l'afficheur oem ELCD 4x20.
YSI 0:1323ab32b8ca 3 *
YSI 1:5e038c0d111f 4 * Copyright (c) 2014, cstyles (http://mbed.org)
YSI 1:5e038c0d111f 5 *
YSI 0:1323ab32b8ca 6 * Exemple:
YSI 0:1323ab32b8ca 7 * @code
YSI 0:1323ab32b8ca 8 * #include "mbed.h"
YSI 0:1323ab32b8ca 9 * #include "lib_LCD_oem_ELCD.h"
YSI 0:1323ab32b8ca 10 *
YSI 0:1323ab32b8ca 11 * LCD_OEM LCD(p13); //Tx
YSI 0:1323ab32b8ca 12 *
YSI 0:1323ab32b8ca 13 * int main() {
YSI 0:1323ab32b8ca 14 * int i=0;
YSI 0:1323ab32b8ca 15 * while(1)
YSI 0:1323ab32b8ca 16 * {
YSI 0:1323ab32b8ca 17 * LCD.clear();
YSI 0:1323ab32b8ca 18 * LCD.print(i++);
YSI 0:1323ab32b8ca 19 * if(i>9999) i=0;
YSI 0:1323ab32b8ca 20 * wait(0.25);
YSI 0:1323ab32b8ca 21 * }
YSI 0:1323ab32b8ca 22 * }
YSI 0:1323ab32b8ca 23 * @endcode
YSI 1:5e038c0d111f 24 * @file lib_LCD_oem_ELDC.h
YSI 1:5e038c0d111f 25 * @purpose library for oem ELCD
YSI 1:5e038c0d111f 26 * @date Jan 2014
YSI 1:5e038c0d111f 27 * @author Yannic Simon
YSI 0:1323ab32b8ca 28 */
YSI 0:1323ab32b8ca 29
YSI 0:1323ab32b8ca 30 #ifndef DEF_lib_LCD_OEM_ELCD_H
YSI 0:1323ab32b8ca 31 #define DEF_lib_LCD_OEM_ELCD_H
YSI 0:1323ab32b8ca 32
YSI 0:1323ab32b8ca 33 #include "mbed.h"
YSI 0:1323ab32b8ca 34
YSI 0:1323ab32b8ca 35
YSI 0:1323ab32b8ca 36 class LCD_OEM : public Serial
YSI 0:1323ab32b8ca 37 {
YSI 0:1323ab32b8ca 38 public:
YSI 0:1323ab32b8ca 39 /** Creer une instance LCD_OEM
YSI 0:1323ab32b8ca 40 */
YSI 0:1323ab32b8ca 41 LCD_OEM(PinName pin_tx);
YSI 0:1323ab32b8ca 42
YSI 0:1323ab32b8ca 43 /** Efface l'afficheur et renvoie le curseur en position X = 0 et Y = 0
YSI 0:1323ab32b8ca 44 *
YSI 0:1323ab32b8ca 45 * @param aucun
YSI 0:1323ab32b8ca 46 * @returns
YSI 0:1323ab32b8ca 47 * aucun
YSI 0:1323ab32b8ca 48 */
YSI 0:1323ab32b8ca 49 void clear(void);
YSI 0:1323ab32b8ca 50 /** positionne le curseur sur la ligne
YSI 0:1323ab32b8ca 51 *
YSI 0:1323ab32b8ca 52 * @param X est la position sur la ligne (0 à 19)
YSI 0:1323ab32b8ca 53 * @returns aucun
YSI 0:1323ab32b8ca 54 */
YSI 0:1323ab32b8ca 55 void set_position_cursor(int X);
YSI 0:1323ab32b8ca 56 /** positionne le curseur horizontalement et verticalement
YSI 0:1323ab32b8ca 57 *
YSI 0:1323ab32b8ca 58 * @param X est la position sur la ligne (0 à 19)
YSI 0:1323ab32b8ca 59 * Y est la position sur la colone (0 à 3)
YSI 0:1323ab32b8ca 60 * @returns aucun
YSI 0:1323ab32b8ca 61 */
YSI 0:1323ab32b8ca 62 void set_position_cursor(int X, int Y);
YSI 0:1323ab32b8ca 63 /** renvoie la position horizontale du curseur
YSI 0:1323ab32b8ca 64 *
YSI 0:1323ab32b8ca 65 * @param aucun
YSI 0:1323ab32b8ca 66 * @returns X est la position sur la ligne (0 à 19)
YSI 0:1323ab32b8ca 67 */
YSI 0:1323ab32b8ca 68 int get_X_position_cursor(void);
YSI 0:1323ab32b8ca 69 /** renvoie la position verticale du curseur
YSI 0:1323ab32b8ca 70 *
YSI 0:1323ab32b8ca 71 * @param aucun
YSI 0:1323ab32b8ca 72 * @returns Y est la position sur la colone (0 à 3)
YSI 0:1323ab32b8ca 73 */
YSI 0:1323ab32b8ca 74 int get_Y_position_cursor(void);
YSI 0:1323ab32b8ca 75 /** positionne le curseur à la ligne suivante
YSI 0:1323ab32b8ca 76 *
YSI 0:1323ab32b8ca 77 * @param aucun
YSI 0:1323ab32b8ca 78 * @returns aucun
YSI 0:1323ab32b8ca 79 */
YSI 0:1323ab32b8ca 80 void shift_line_cursor(void);
YSI 0:1323ab32b8ca 81 /** active l'affichage du curseur
YSI 0:1323ab32b8ca 82 *
YSI 0:1323ab32b8ca 83 * @param aucun
YSI 0:1323ab32b8ca 84 * @returns aucun
YSI 0:1323ab32b8ca 85 */
YSI 0:1323ab32b8ca 86 void turn_on_cursor(void);
YSI 0:1323ab32b8ca 87 /** désactive l'affichage du curseur
YSI 0:1323ab32b8ca 88 *
YSI 0:1323ab32b8ca 89 * @param aucun
YSI 0:1323ab32b8ca 90 * @returns aucun
YSI 0:1323ab32b8ca 91 */
YSI 0:1323ab32b8ca 92 void turn_off_cursor(void);
YSI 0:1323ab32b8ca 93 /** redéfinit un caractère de 5x8 pixels et l'affiche
YSI 0:1323ab32b8ca 94 *
YSI 0:1323ab32b8ca 95 * @param c est le caractère à redéfinir (8 à 15)
YSI 0:1323ab32b8ca 96 * l1 à l8 sont les lignes du caractère à redéfinir pixel par pixel et correspond à la somme des valeurs des pixels sur une chaque ligne
YSI 0:1323ab32b8ca 97 * le pixel le plus à gauche est le poids fort correspondant à la valeur 16
YSI 0:1323ab32b8ca 98 * le pixel le plus à droite est le poids faible correspondant à la valeur 1
YSI 0:1323ab32b8ca 99 * @returns aucun
YSI 0:1323ab32b8ca 100 */
YSI 0:1323ab32b8ca 101 void define_and_print_caractere(char c, char l1, char l2, char l3, char l4, char l5, char l6, char l7, char l8);
YSI 0:1323ab32b8ca 102 /** redéfinit un caractère de 5x8 pixels et l'affiche
YSI 0:1323ab32b8ca 103 *
YSI 0:1323ab32b8ca 104 * @param c est le caractère à redéfinir (8 à 15)
YSI 0:1323ab32b8ca 105 * l1 à l8 sont les lignes du caractère à redéfinir pixel par pixel et correspond à la somme des valeurs des pixels sur une chaque ligne
YSI 0:1323ab32b8ca 106 * le pixel le plus à gauche est le poids fort correspondant à la valeur 16
YSI 0:1323ab32b8ca 107 * le pixel le plus à droite est le poids faible correspondant à la valeur 1
YSI 0:1323ab32b8ca 108 * @returns aucun
YSI 0:1323ab32b8ca 109 */
YSI 0:1323ab32b8ca 110 void define_caractere(char c, char l1, char l2, char l3, char l4, char l5, char l6, char l7, char l8);
YSI 0:1323ab32b8ca 111 /** affiche la variable sur l'afficheur
YSI 0:1323ab32b8ca 112 *
YSI 0:1323ab32b8ca 113 * @param la plupart des types de variables
YSI 0:1323ab32b8ca 114 * @returns aucun
YSI 0:1323ab32b8ca 115 */
YSI 0:1323ab32b8ca 116 void print(char c);
YSI 0:1323ab32b8ca 117 void print(char c1, char c2);
YSI 0:1323ab32b8ca 118 void print(char c1, char c2, char c3);
YSI 0:1323ab32b8ca 119 void print(short nb);
YSI 0:1323ab32b8ca 120 void print(unsigned short nb);
YSI 0:1323ab32b8ca 121 void print(int nb);
YSI 0:1323ab32b8ca 122 void print(unsigned int nb);
YSI 0:1323ab32b8ca 123 void print(long long nb);
YSI 0:1323ab32b8ca 124 void print(unsigned long long nb);
YSI 0:1323ab32b8ca 125 void print(float nb);
YSI 0:1323ab32b8ca 126 void print(double nb);
YSI 0:1323ab32b8ca 127 void print(char *s);
YSI 0:1323ab32b8ca 128
YSI 0:1323ab32b8ca 129
YSI 0:1323ab32b8ca 130 void print(char *s, short nb);
YSI 0:1323ab32b8ca 131 void print(char *s, short nb1, short nb2);
YSI 0:1323ab32b8ca 132 void print(char *s, short nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 133 void print(char *s, unsigned short nb1, short nb2);
YSI 0:1323ab32b8ca 134 void print(char *s, short nb1, int nb2);
YSI 0:1323ab32b8ca 135 void print(char *s, int nb1, short nb2);
YSI 0:1323ab32b8ca 136 void print(char *s, short nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 137 void print(char *s, unsigned int nb1, short nb2);
YSI 0:1323ab32b8ca 138 void print(char *s, short nb1, long long nb2);
YSI 0:1323ab32b8ca 139 void print(char *s, long long nb1, short nb2);
YSI 0:1323ab32b8ca 140 void print(char *s, short nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 141 void print(char *s, unsigned long long nb1, short nb2);
YSI 0:1323ab32b8ca 142 void print(char *s, short nb1, float nb2);
YSI 0:1323ab32b8ca 143 void print(char *s, float nb1, short nb2);
YSI 0:1323ab32b8ca 144 void print(char *s, short nb1, double nb2);
YSI 0:1323ab32b8ca 145 void print(char *s, double nb1, short nb2);
YSI 0:1323ab32b8ca 146 void print(char *s, short nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 147
YSI 0:1323ab32b8ca 148 void print(char *s, short nb1, short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 149 void print(char *s, short nb1, unsigned short nb2, short nb3);
YSI 0:1323ab32b8ca 150 void print(char *s, short nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 151 void print(char *s, unsigned short nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 152 void print(char *s, unsigned short nb1, short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 153 void print(char *s, unsigned short nb1, unsigned short nb2, short nb3);
YSI 0:1323ab32b8ca 154
YSI 0:1323ab32b8ca 155 void print(char *s, short nb1, short nb2, int nb3);
YSI 0:1323ab32b8ca 156 void print(char *s, short nb1, int nb2, short nb3);
YSI 0:1323ab32b8ca 157 void print(char *s, short nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 158 void print(char *s, int nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 159 void print(char *s, int nb1, short nb2, int nb3);
YSI 0:1323ab32b8ca 160 void print(char *s, int nb1, int nb2, short nb3);
YSI 0:1323ab32b8ca 161
YSI 0:1323ab32b8ca 162 void print(char *s, short nb1, short nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 163 void print(char *s, short nb1, unsigned int nb2, short nb3);
YSI 0:1323ab32b8ca 164 void print(char *s, short nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 165 void print(char *s, unsigned int nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 166 void print(char *s, unsigned int nb1, short nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 167 void print(char *s, unsigned int nb1, unsigned int nb2, short nb3);
YSI 0:1323ab32b8ca 168
YSI 0:1323ab32b8ca 169 void print(char *s, short nb1, short nb2, long long nb3);
YSI 0:1323ab32b8ca 170 void print(char *s, short nb1, long long nb2, short nb3);
YSI 0:1323ab32b8ca 171 void print(char *s, short nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 172 void print(char *s, long long nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 173 void print(char *s, long long nb1, short nb2, long long nb3);
YSI 0:1323ab32b8ca 174 void print(char *s, long long nb1, long long nb2, short nb3);
YSI 0:1323ab32b8ca 175
YSI 0:1323ab32b8ca 176 void print(char *s, short nb1, short nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 177 void print(char *s, short nb1, unsigned long long nb2, short nb3);
YSI 0:1323ab32b8ca 178 void print(char *s, short nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 179 void print(char *s, unsigned long long nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 180 void print(char *s, unsigned long long nb1, short nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 181 void print(char *s, unsigned long long nb1, unsigned long long nb2, short nb3);
YSI 0:1323ab32b8ca 182
YSI 0:1323ab32b8ca 183 void print(char *s, short nb1, short nb2, float nb3);
YSI 0:1323ab32b8ca 184 void print(char *s, short nb1, float nb2, short nb3);
YSI 0:1323ab32b8ca 185 void print(char *s, short nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 186 void print(char *s, float nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 187 void print(char *s, float nb1, short nb2, float nb3);
YSI 0:1323ab32b8ca 188 void print(char *s, float nb1, float nb2, short nb3);
YSI 0:1323ab32b8ca 189
YSI 0:1323ab32b8ca 190 void print(char *s, short nb1, short nb2, double nb3);
YSI 0:1323ab32b8ca 191 void print(char *s, short nb1, double nb2, short nb3);
YSI 0:1323ab32b8ca 192 void print(char *s, short nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 193 void print(char *s, double nb1, short nb2, short nb3);
YSI 0:1323ab32b8ca 194 void print(char *s, double nb1, short nb2, double nb3);
YSI 0:1323ab32b8ca 195 void print(char *s, double nb1, double nb2, short nb3);
YSI 0:1323ab32b8ca 196
YSI 0:1323ab32b8ca 197
YSI 0:1323ab32b8ca 198
YSI 0:1323ab32b8ca 199 void print(char *s, unsigned short nb);
YSI 0:1323ab32b8ca 200 void print(char *s, unsigned short nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 201 void print(char *s, unsigned short nb1, int nb2);
YSI 0:1323ab32b8ca 202 void print(char *s, int nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 203 void print(char *s, unsigned short nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 204 void print(char *s, unsigned int nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 205 void print(char *s, unsigned short nb1, long long nb2);
YSI 0:1323ab32b8ca 206 void print(char *s, long long nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 207 void print(char *s, unsigned short nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 208 void print(char *s, unsigned long long nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 209 void print(char *s, unsigned short nb1, float nb2);
YSI 0:1323ab32b8ca 210 void print(char *s, float nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 211 void print(char *s, unsigned short nb1, double nb2);
YSI 0:1323ab32b8ca 212 void print(char *s, double nb1, unsigned short nb2);
YSI 0:1323ab32b8ca 213 void print(char *s, unsigned short nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 214
YSI 0:1323ab32b8ca 215 void print(char *s, unsigned short nb1, unsigned short nb2, int nb3);
YSI 0:1323ab32b8ca 216 void print(char *s, unsigned short nb1, int nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 217 void print(char *s, unsigned short nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 218 void print(char *s, int nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 219 void print(char *s, int nb1, unsigned short nb2, int nb3);
YSI 0:1323ab32b8ca 220 void print(char *s, int nb1, int nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 221
YSI 0:1323ab32b8ca 222 void print(char *s, unsigned short nb1, unsigned short nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 223 void print(char *s, unsigned short nb1, unsigned int nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 224 void print(char *s, unsigned short nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 225 void print(char *s, unsigned int nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 226 void print(char *s, unsigned int nb1, unsigned short nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 227 void print(char *s, unsigned int nb1, unsigned int nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 228
YSI 0:1323ab32b8ca 229 void print(char *s, unsigned short nb1, unsigned short nb2, long long nb3);
YSI 0:1323ab32b8ca 230 void print(char *s, unsigned short nb1, long long nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 231 void print(char *s, unsigned short nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 232 void print(char *s, long long nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 233 void print(char *s, long long nb1, unsigned short nb2, long long nb3);
YSI 0:1323ab32b8ca 234 void print(char *s, long long nb1, long long nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 235
YSI 0:1323ab32b8ca 236 void print(char *s, unsigned short nb1, unsigned short nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 237 void print(char *s, unsigned short nb1, unsigned long long nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 238 void print(char *s, unsigned short nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 239 void print(char *s, unsigned long long nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 240 void print(char *s, unsigned long long nb1, unsigned short nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 241 void print(char *s, unsigned long long nb1, unsigned long long nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 242
YSI 0:1323ab32b8ca 243 void print(char *s, unsigned short nb1, unsigned short nb2, float nb3);
YSI 0:1323ab32b8ca 244 void print(char *s, unsigned short nb1, float nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 245 void print(char *s, unsigned short nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 246 void print(char *s, float nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 247 void print(char *s, float nb1, unsigned short nb2, float nb3);
YSI 0:1323ab32b8ca 248 void print(char *s, float nb1, float nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 249
YSI 0:1323ab32b8ca 250 void print(char *s, unsigned short nb1, unsigned short nb2, double nb3);
YSI 0:1323ab32b8ca 251 void print(char *s, unsigned short nb1, double nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 252 void print(char *s, unsigned short nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 253 void print(char *s, double nb1, unsigned short nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 254 void print(char *s, double nb1, unsigned short nb2, double nb3);
YSI 0:1323ab32b8ca 255 void print(char *s, double nb1, double nb2, unsigned short nb3);
YSI 0:1323ab32b8ca 256
YSI 0:1323ab32b8ca 257
YSI 0:1323ab32b8ca 258
YSI 0:1323ab32b8ca 259 void print(char *s, int nb);
YSI 0:1323ab32b8ca 260 void print(char *s, int nb1, int nb2);
YSI 0:1323ab32b8ca 261 void print(char *s, int nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 262 void print(char *s, unsigned int nb1, int nb2);
YSI 0:1323ab32b8ca 263 void print(char *s, int nb1, long long nb2);
YSI 0:1323ab32b8ca 264 void print(char *s, long long nb1, int nb2);
YSI 0:1323ab32b8ca 265 void print(char *s, int nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 266 void print(char *s, unsigned long long nb1, int nb2);
YSI 0:1323ab32b8ca 267 void print(char *s, int nb1, float nb2);
YSI 0:1323ab32b8ca 268 void print(char *s, float nb1, int nb2);
YSI 0:1323ab32b8ca 269 void print(char *s, int nb1, double nb2);
YSI 0:1323ab32b8ca 270 void print(char *s, double nb1, int nb2);
YSI 0:1323ab32b8ca 271 void print(char *s, int nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 272
YSI 0:1323ab32b8ca 273 void print(char *s, int nb1, int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 274 void print(char *s, int nb1, unsigned int nb2, int nb3);
YSI 0:1323ab32b8ca 275 void print(char *s, int nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 276 void print(char *s, unsigned int nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 277 void print(char *s, unsigned int nb1, int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 278 void print(char *s, unsigned int nb1, unsigned int nb2, int nb3);
YSI 0:1323ab32b8ca 279
YSI 0:1323ab32b8ca 280 void print(char *s, int nb1, int nb2, long long nb3);
YSI 0:1323ab32b8ca 281 void print(char *s, int nb1, long long nb2, int nb3);
YSI 0:1323ab32b8ca 282 void print(char *s, int nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 283 void print(char *s, long long nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 284 void print(char *s, long long nb1, int nb2, long long nb3);
YSI 0:1323ab32b8ca 285 void print(char *s, long long nb1, long long nb2, int nb3);
YSI 0:1323ab32b8ca 286
YSI 0:1323ab32b8ca 287 void print(char *s, int nb1, int nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 288 void print(char *s, int nb1, unsigned long long nb2, int nb3);
YSI 0:1323ab32b8ca 289 void print(char *s, int nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 290 void print(char *s, unsigned long long nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 291 void print(char *s, unsigned long long nb1, int nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 292 void print(char *s, unsigned long long nb1, unsigned long long nb2, int nb3);
YSI 0:1323ab32b8ca 293
YSI 0:1323ab32b8ca 294 void print(char *s, int nb1, int nb2, float nb3);
YSI 0:1323ab32b8ca 295 void print(char *s, int nb1, float nb2, int nb3);
YSI 0:1323ab32b8ca 296 void print(char *s, int nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 297 void print(char *s, float nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 298 void print(char *s, float nb1, int nb2, float nb3);
YSI 0:1323ab32b8ca 299 void print(char *s, float nb1, float nb2, int nb3);
YSI 0:1323ab32b8ca 300
YSI 0:1323ab32b8ca 301 void print(char *s, int nb1, int nb2, double nb3);
YSI 0:1323ab32b8ca 302 void print(char *s, int nb1, double nb2, int nb3);
YSI 0:1323ab32b8ca 303 void print(char *s, int nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 304 void print(char *s, double nb1, int nb2, int nb3);
YSI 0:1323ab32b8ca 305 void print(char *s, double nb1, int nb2, double nb3);
YSI 0:1323ab32b8ca 306 void print(char *s, double nb1, double nb2, int nb3);
YSI 0:1323ab32b8ca 307
YSI 0:1323ab32b8ca 308
YSI 0:1323ab32b8ca 309 void print(char *s, unsigned int nb);
YSI 0:1323ab32b8ca 310 void print(char *s, unsigned int nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 311 void print(char *s, unsigned int nb1, long long nb2);
YSI 0:1323ab32b8ca 312 void print(char *s, long long nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 313 void print(char *s, unsigned int nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 314 void print(char *s, unsigned long long nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 315 void print(char *s, unsigned int nb1, float nb2);
YSI 0:1323ab32b8ca 316 void print(char *s, float nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 317 void print(char *s, unsigned int nb1, double nb2);
YSI 0:1323ab32b8ca 318 void print(char *s, double nb1, unsigned int nb2);
YSI 0:1323ab32b8ca 319 void print(char *s, unsigned int nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 320
YSI 0:1323ab32b8ca 321 void print(char *s, unsigned int nb1, unsigned int nb2, long long nb3);
YSI 0:1323ab32b8ca 322 void print(char *s, unsigned int nb1, long long nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 323 void print(char *s, unsigned int nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 324 void print(char *s, long long nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 325 void print(char *s, long long nb1, unsigned int nb2, long long nb3);
YSI 0:1323ab32b8ca 326 void print(char *s, long long nb1, long long nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 327
YSI 0:1323ab32b8ca 328 void print(char *s, unsigned int nb1, unsigned int nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 329 void print(char *s, unsigned int nb1, unsigned long long nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 330 void print(char *s, unsigned int nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 331 void print(char *s, unsigned long long nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 332 void print(char *s, unsigned long long nb1, unsigned int nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 333 void print(char *s, unsigned long long nb1, unsigned long long nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 334
YSI 0:1323ab32b8ca 335 void print(char *s, unsigned int nb1, unsigned int nb2, float nb3);
YSI 0:1323ab32b8ca 336 void print(char *s, unsigned int nb1, float nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 337 void print(char *s, unsigned int nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 338 void print(char *s, float nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 339 void print(char *s, float nb1, unsigned int nb2, float nb3);
YSI 0:1323ab32b8ca 340 void print(char *s, float nb1, float nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 341
YSI 0:1323ab32b8ca 342 void print(char *s, unsigned int nb1, unsigned int nb2, double nb3);
YSI 0:1323ab32b8ca 343 void print(char *s, unsigned int nb1, double nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 344 void print(char *s, unsigned int nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 345 void print(char *s, double nb1, unsigned int nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 346 void print(char *s, double nb1, unsigned int nb2, double nb3);
YSI 0:1323ab32b8ca 347 void print(char *s, double nb1, double nb2, unsigned int nb3);
YSI 0:1323ab32b8ca 348
YSI 0:1323ab32b8ca 349
YSI 0:1323ab32b8ca 350 void print(char *s, long long nb);
YSI 0:1323ab32b8ca 351 void print(char *s, long long nb1, long long nb2);
YSI 0:1323ab32b8ca 352 void print(char *s, long long nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 353 void print(char *s, unsigned long long nb1, long long nb2);
YSI 0:1323ab32b8ca 354 void print(char *s, long long nb1, float nb2);
YSI 0:1323ab32b8ca 355 void print(char *s, float nb1, long long nb2);
YSI 0:1323ab32b8ca 356 void print(char *s, long long nb1, double nb2);
YSI 0:1323ab32b8ca 357 void print(char *s, double nb1, long long nb2);
YSI 0:1323ab32b8ca 358 void print(char *s, long long nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 359
YSI 0:1323ab32b8ca 360 void print(char *s, long long nb1, long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 361 void print(char *s, long long nb1, unsigned long long nb2, long long nb3);
YSI 0:1323ab32b8ca 362 void print(char *s, long long nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 363 void print(char *s, unsigned long long nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 364 void print(char *s, unsigned long long nb1, long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 365 void print(char *s, unsigned long long nb1, unsigned long long nb2, long long nb3);
YSI 0:1323ab32b8ca 366
YSI 0:1323ab32b8ca 367 void print(char *s, long long nb1, long long nb2, float nb3);
YSI 0:1323ab32b8ca 368 void print(char *s, long long nb1, float nb2, long long nb3);
YSI 0:1323ab32b8ca 369 void print(char *s, long long nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 370 void print(char *s, float nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 371 void print(char *s, float nb1, long long nb2, float nb3);
YSI 0:1323ab32b8ca 372 void print(char *s, float nb1, float nb2, long long nb3);
YSI 0:1323ab32b8ca 373
YSI 0:1323ab32b8ca 374 void print(char *s, long long nb1, long long nb2, double nb3);
YSI 0:1323ab32b8ca 375 void print(char *s, long long nb1, double nb2, long long nb3);
YSI 0:1323ab32b8ca 376 void print(char *s, long long nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 377 void print(char *s, double nb1, long long nb2, long long nb3);
YSI 0:1323ab32b8ca 378 void print(char *s, double nb1, long long nb2, double nb3);
YSI 0:1323ab32b8ca 379 void print(char *s, double nb1, double nb2, long long nb3);
YSI 0:1323ab32b8ca 380
YSI 0:1323ab32b8ca 381
YSI 0:1323ab32b8ca 382 void print(char *s, unsigned long long nb);
YSI 0:1323ab32b8ca 383 void print(char *s, unsigned long long nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 384 void print(char *s, unsigned long long nb1, float nb2);
YSI 0:1323ab32b8ca 385 void print(char *s, float nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 386 void print(char *s, unsigned long long nb1, double nb2);
YSI 0:1323ab32b8ca 387 void print(char *s, double nb1, unsigned long long nb2);
YSI 0:1323ab32b8ca 388 void print(char *s, unsigned long long nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 389
YSI 0:1323ab32b8ca 390 void print(char *s, unsigned long long nb1, unsigned long long nb2, float nb3);
YSI 0:1323ab32b8ca 391 void print(char *s, unsigned long long nb1, float nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 392 void print(char *s, unsigned long long nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 393 void print(char *s, float nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 394 void print(char *s, float nb1, unsigned long long nb2, float nb3);
YSI 0:1323ab32b8ca 395 void print(char *s, float nb1, float nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 396
YSI 0:1323ab32b8ca 397 void print(char *s, unsigned long long nb1, unsigned long long nb2, double nb3);
YSI 0:1323ab32b8ca 398 void print(char *s, unsigned long long nb1, double nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 399 void print(char *s, unsigned long long nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 400 void print(char *s, double nb1, unsigned long long nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 401 void print(char *s, double nb1, unsigned long long nb2, double nb3);
YSI 0:1323ab32b8ca 402 void print(char *s, double nb1, double nb2, unsigned long long nb3);
YSI 0:1323ab32b8ca 403
YSI 0:1323ab32b8ca 404
YSI 0:1323ab32b8ca 405 void print(char *s, float nb);
YSI 0:1323ab32b8ca 406 void print(char *s, float nb1, float nb2);
YSI 0:1323ab32b8ca 407 void print(char *s, float nb1, double nb2);
YSI 0:1323ab32b8ca 408 void print(char *s, double nb1, float nb2);
YSI 0:1323ab32b8ca 409 void print(char *s, float nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 410
YSI 0:1323ab32b8ca 411 void print(char *s, float nb1, float nb2, double nb3);
YSI 0:1323ab32b8ca 412 void print(char *s, float nb1, double nb2, float nb3);
YSI 0:1323ab32b8ca 413 void print(char *s, float nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 414 void print(char *s, double nb1, float nb2, float nb3);
YSI 0:1323ab32b8ca 415 void print(char *s, double nb1, float nb2, double nb3);
YSI 0:1323ab32b8ca 416 void print(char *s, double nb1, double nb2, float nb3);
YSI 0:1323ab32b8ca 417
YSI 0:1323ab32b8ca 418
YSI 0:1323ab32b8ca 419 void print(char *s, double nb);
YSI 0:1323ab32b8ca 420 void print(char *s, double nb1, double nb2);
YSI 0:1323ab32b8ca 421 void print(char *s, double nb1, double nb2, double nb3);
YSI 0:1323ab32b8ca 422
YSI 0:1323ab32b8ca 423
YSI 0:1323ab32b8ca 424 private :
YSI 0:1323ab32b8ca 425 void init(void);
YSI 0:1323ab32b8ca 426 void X_move_position(int n);
YSI 0:1323ab32b8ca 427 int X_position_cursor;
YSI 0:1323ab32b8ca 428 int Y_position_cursor;
YSI 0:1323ab32b8ca 429 };
YSI 0:1323ab32b8ca 430
YSI 0:1323ab32b8ca 431 #endif