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.
LC75711_UDC.h
00001 /* mbed LC75710 Library, for Sanyo LC7571X VFD controller 00002 * Note: The LC75710, LC75711 and LC75712 differ only in the built-in character ROM 00003 * 00004 * Copyright (c) 2017, v01: WH, Initial version 00005 * 2017, v02: WH, Added some UDC definitions 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a copy 00008 * of this software and associated documentation files (the "Software"), to deal 00009 * in the Software without restriction, including without limitation the rights 00010 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00011 * copies of the Software, and to permit persons to whom the Software is 00012 * furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included in 00015 * all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00018 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00020 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00021 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00022 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00023 * THE SOFTWARE. 00024 */ 00025 #ifndef MBED_LC75711_UDC_H 00026 #define MBED_LC75711_UDC_H 00027 00028 #include "LC75711_Config.h" 00029 00030 #if(LC75711_UDC == 1) 00031 // User Defined Characters (UDCs) are defined by a 7 byte bitpattern. 00032 // The P0..P4 form the UDC pattern. 00033 // P7 P6 P5 P4 P3 P2 P1 P0 00034 // 0 x x x CD4 CD3 CD2 CD1 CD1 00035 // 1 x x x CD9 CD8 CD7 CD6 CD5 00036 // . ............. 00037 // 6 x x x C35 C34 ... C31 00038 // 00039 // The UDC matrix will show on the VFD as 00040 // 0 CD1 CD2 CD3 CD4 CD5 00041 // 1 CD6 CD7 ....... CD10 00042 // . ............. 00043 // . ............. 00044 // . ............. 00045 // 6 CD31 C32 ....... CD35 00046 // 00047 00048 00049 // Some sample User Defined Chars 5x7 dots */ 00050 extern const char udc_Bat_Hi[]; // Battery Full 00051 extern const char udc_Bat_Ha[]; // Battery Half 00052 extern const char udc_Bat_Lo[]; // Battery Low 00053 extern const char udc_checker[]; 00054 00055 //extern const char udc_PO[]; //Padlock Open 00056 //extern const char udc_PC[]; //Padlock Closed 00057 00058 // 00059 // NOTE: the bitpatterns below still need to be flipped or they will be mirrored on the display... 00060 // 00061 //extern const char udc_ae[]; //æ 00062 //extern const char udc_0e[]; //ø 00063 //extern const char udc_ao[]; //å 00064 //extern const char udc_AE[]; //Æ 00065 //extern const char udc_0E[]; //Ø 00066 //extern const char udc_Ao[]; //Å 00067 00068 //extern const char udc_alpha[] //alpha 00069 //extern const char udc_ohm[]; //ohm 00070 //extern const char udc_sigma[]; //sigma 00071 //extern const char udc_pi[]; //pi 00072 //extern const char udc_root[]; //root 00073 00074 //extern const char udc_TM_T[]; // Trademark T 00075 //extern const char udc_TM_M[]; // Trademark M 00076 #endif 00077 00078 #endif
Generated on Thu Jul 14 2022 15:13:57 by
1.7.2
LC75711 VFD Driver for upto 16 Dot Matrix Characters,