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