proyecto LCD

Committer:
fcalzadas
Date:
Wed Nov 13 21:28:23 2019 +0000
Revision:
9:2db641efba7e
proyecto de LCD

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fcalzadas 9:2db641efba7e 1 /* mbed TextLCD Library, for LCDs based on HD44780 controllers
fcalzadas 9:2db641efba7e 2 * Copyright (c) 2014, WH
fcalzadas 9:2db641efba7e 3 * 2014, v01: WH, Extracted from TextLCD.h as of v14
fcalzadas 9:2db641efba7e 4 *
fcalzadas 9:2db641efba7e 5 * Permission is hereby granted, free of charge, to any person obtaining a copy
fcalzadas 9:2db641efba7e 6 * of this software and associated documentation files (the "Software"), to deal
fcalzadas 9:2db641efba7e 7 * in the Software without restriction, including without limitation the rights
fcalzadas 9:2db641efba7e 8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
fcalzadas 9:2db641efba7e 9 * copies of the Software, and to permit persons to whom the Software is
fcalzadas 9:2db641efba7e 10 * furnished to do so, subject to the following conditions:
fcalzadas 9:2db641efba7e 11 *
fcalzadas 9:2db641efba7e 12 * The above copyright notice and this permission notice shall be included in
fcalzadas 9:2db641efba7e 13 * all copies or substantial portions of the Software.
fcalzadas 9:2db641efba7e 14 *
fcalzadas 9:2db641efba7e 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
fcalzadas 9:2db641efba7e 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
fcalzadas 9:2db641efba7e 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
fcalzadas 9:2db641efba7e 18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
fcalzadas 9:2db641efba7e 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
fcalzadas 9:2db641efba7e 20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
fcalzadas 9:2db641efba7e 21 * THE SOFTWARE.
fcalzadas 9:2db641efba7e 22 */
fcalzadas 9:2db641efba7e 23 #ifndef MBED_TEXTLCDUDC_H
fcalzadas 9:2db641efba7e 24 #define MBED_TEXTLCDUDC_H
fcalzadas 9:2db641efba7e 25
fcalzadas 9:2db641efba7e 26 #include "TextLCD_Config.h"
fcalzadas 9:2db641efba7e 27
fcalzadas 9:2db641efba7e 28 /** Some sample User Defined Chars 5x7 dots */
fcalzadas 9:2db641efba7e 29 #if(LCD_UDC == 1)
fcalzadas 9:2db641efba7e 30 //extern const char udc_ae[]; //æ
fcalzadas 9:2db641efba7e 31 //extern const char udc_0e[]; //ø
fcalzadas 9:2db641efba7e 32 //extern const char udc_ao[]; //å
fcalzadas 9:2db641efba7e 33 //extern const char udc_AE[]; //Æ
fcalzadas 9:2db641efba7e 34 //extern const char udc_0E[]; //Ø
fcalzadas 9:2db641efba7e 35 //extern const char udc_Ao[]; //Å
fcalzadas 9:2db641efba7e 36 //extern const char udc_PO[]; //Padlock Open
fcalzadas 9:2db641efba7e 37 //extern const char udc_PC[]; //Padlock Closed
fcalzadas 9:2db641efba7e 38
fcalzadas 9:2db641efba7e 39 //extern const char udc_alpha[]; //alpha
fcalzadas 9:2db641efba7e 40 //extern const char udc_ohm[]; //ohm
fcalzadas 9:2db641efba7e 41 //extern const char udc_sigma[]; //sigma
fcalzadas 9:2db641efba7e 42 //extern const char udc_pi[]; //pi
fcalzadas 9:2db641efba7e 43 //extern const char udc_root[]; //root
fcalzadas 9:2db641efba7e 44
fcalzadas 9:2db641efba7e 45 extern const char udc_0[]; // |>
fcalzadas 9:2db641efba7e 46 extern const char udc_1[]; // <|
fcalzadas 9:2db641efba7e 47 extern const char udc_2[]; // |
fcalzadas 9:2db641efba7e 48 extern const char udc_3[]; // ||
fcalzadas 9:2db641efba7e 49 extern const char udc_4[]; // |||
fcalzadas 9:2db641efba7e 50 extern const char udc_5[]; // =
fcalzadas 9:2db641efba7e 51 extern const char udc_6[]; // checkerboard
fcalzadas 9:2db641efba7e 52 extern const char udc_7[]; // \
fcalzadas 9:2db641efba7e 53
fcalzadas 9:2db641efba7e 54 extern const char udc_degr[]; // Degree symbol
fcalzadas 9:2db641efba7e 55
fcalzadas 9:2db641efba7e 56 extern const char udc_TM_T[]; // Trademark T
fcalzadas 9:2db641efba7e 57 extern const char udc_TM_M[]; // Trademark M
fcalzadas 9:2db641efba7e 58
fcalzadas 9:2db641efba7e 59 //extern const char udc_Bat_Hi[]; // Battery Full
fcalzadas 9:2db641efba7e 60 //extern const char udc_Bat_Ha[]; // Battery Half
fcalzadas 9:2db641efba7e 61 //extern const char udc_Bat_Lo[]; // Battery Low
fcalzadas 9:2db641efba7e 62 extern const char udc_Bat_Hi[]; // Battery Full
fcalzadas 9:2db641efba7e 63 extern const char udc_Bat_Ha[]; // Battery Half
fcalzadas 9:2db641efba7e 64 extern const char udc_Bat_Lo[]; // Battery Low
fcalzadas 9:2db641efba7e 65 extern const char udc_AC[]; // AC Power
fcalzadas 9:2db641efba7e 66
fcalzadas 9:2db641efba7e 67 extern const char udc_smiley[]; // Smiley
fcalzadas 9:2db641efba7e 68 //extern const char udc_droopy[]; // Droopey
fcalzadas 9:2db641efba7e 69 //extern const char udc_note[]; // Note
fcalzadas 9:2db641efba7e 70
fcalzadas 9:2db641efba7e 71 //extern const char udc_bar_1[]; // Bar 1
fcalzadas 9:2db641efba7e 72 //extern const char udc_bar_2[]; // Bar 11
fcalzadas 9:2db641efba7e 73 //extern const char udc_bar_3[]; // Bar 111
fcalzadas 9:2db641efba7e 74 //extern const char udc_bar_4[]; // Bar 1111
fcalzadas 9:2db641efba7e 75 //extern const char udc_bar_5[]; // Bar 11111
fcalzadas 9:2db641efba7e 76
fcalzadas 9:2db641efba7e 77 //extern const char udc_ch_1[]; // Hor bars 4
fcalzadas 9:2db641efba7e 78 //extern const char udc_ch_2[]; // Hor bars 4 (inverted)
fcalzadas 9:2db641efba7e 79 //extern const char udc_ch_3[]; // Ver bars 3
fcalzadas 9:2db641efba7e 80 //extern const char udc_ch_4[]; // Ver bars 3 (inverted)
fcalzadas 9:2db641efba7e 81 //extern const char udc_ch_yr[]; // Year (kana)
fcalzadas 9:2db641efba7e 82 //extern const char udc_ch_mo[]; // Month (kana)
fcalzadas 9:2db641efba7e 83 //extern const char udc_ch_dy[]; // Day (kana)
fcalzadas 9:2db641efba7e 84 //extern const char udc_ch_mi[]; // minute (kana)
fcalzadas 9:2db641efba7e 85 extern const char udc_None[];
fcalzadas 9:2db641efba7e 86 extern const char udc_All[];
fcalzadas 9:2db641efba7e 87 #endif /* LCD_UDC Examples */
fcalzadas 9:2db641efba7e 88
fcalzadas 9:2db641efba7e 89 #endif // MBED_TEXTLCDUDC_H