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