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