Sanyo LC75711 VFD controller/driver for upto 16 Dot Matrix Characters
The component page is here.
Revision 3:8101f714d38d, committed 2017-09-17
- Comitter:
- wim
- Date:
- Sun Sep 17 13:32:22 2017 +0000
- Parent:
- 2:cb6f2b7930c8
- Commit message:
- Minor Cleanup and added comments
Changed in this revision
diff -r cb6f2b7930c8 -r 8101f714d38d LC75711.h --- a/LC75711.h Fri Sep 15 17:38:40 2017 +0000 +++ b/LC75711.h Sun Sep 17 13:32:22 2017 +0000 @@ -51,17 +51,16 @@ * pc.printf("Hello World: LC75711 test\n\r"); * * LC75711.cls(); - * LC75711.writeData(all_str); - * wait(4); - * LC75711.setBrightness(LC75711_BRT0); - * wait(1); - * LC75711.setBrightness(LC75711_BRT3); * * LC75711.writeData((char)'H', 9); * LC75711.writeData((char)'e', 8); * LC75711.writeData((char)'l', 7); * LC75711.writeData((char)'l', 6); * LC75711.writeData((char)'o', 5); + * wait(2); + * LC75711.setBrightness(LC75711_BRT0); + * wait(2); + * LC75711.setBrightness(LC75711_BRT3); * * while(1) { * myled = !myled; @@ -614,7 +613,6 @@ int _columns; // Max number of columns // DisplayData_t _displaybuffer; // Local mirror for all chars and icons -// UDCData_t _UDC_16S; // User Defined Character pattterns (UDC) UDCData_t _udc_icon; // The UDC_0 bitpattern for the Icons shown at Grid 11 (7 bytes) }; #endif
diff -r cb6f2b7930c8 -r 8101f714d38d LC75711_UDC.h --- a/LC75711_UDC.h Fri Sep 15 17:38:40 2017 +0000 +++ b/LC75711_UDC.h Sun Sep 17 13:32:22 2017 +0000 @@ -28,15 +28,24 @@ #include "LC75711_Config.h" #if(LC75711_UDC == 1) -// User Defined Characters (UDCs) are defined by a 7 byte bitpattern. The P0..P5 form the character pattern. -// P7 P6 P5 P4 P3 P2 P1 P0 -// 0 x x x 0 1 1 1 0 -// 1 x x x 1 0 0 0 1 +// User Defined Characters (UDCs) are defined by a 7 byte bitpattern. +// The P0..P4 form the UDC pattern. +// P7 P6 P5 P4 P3 P2 P1 P0 +// 0 x x x CD4 CD3 CD2 CD1 CD1 +// 1 x x x CD9 CD8 CD7 CD6 CD5 // . ............. -// 6 x x x 1 0 0 0 1 +// 6 x x x C35 C34 ... C31 // -// Blinking UDCs are enabled when the specific Grid blink controlbit is set. +// The UDC matrix will show on the VFD as +// 0 CD1 CD2 CD3 CD4 CD5 +// 1 CD6 CD7 ....... CD10 +// . ............. +// . ............. +// . ............. +// 6 CD31 C32 ....... CD35 // + + // Some sample User Defined Chars 5x7 dots */ extern const char udc_Bat_Hi[]; // Battery Full extern const char udc_Bat_Ha[]; // Battery Half @@ -47,7 +56,7 @@ //extern const char udc_PC[]; //Padlock Closed // -// NOTE: the patterns below still need to be flipped or the will be mirrored on the display... +// NOTE: the bitpatterns below still need to be flipped or they will be mirrored on the display... // //extern const char udc_ae[]; //æ //extern const char udc_0e[]; //ø
diff -r cb6f2b7930c8 -r 8101f714d38d LC75711_UDC.inc --- a/LC75711_UDC.inc Fri Sep 15 17:38:40 2017 +0000 +++ b/LC75711_UDC.inc Sun Sep 17 13:32:22 2017 +0000 @@ -25,15 +25,23 @@ #include "LC75711_Config.h" #if(LC75711_UDC == 1) -// User Defined Characters (UDCs) are defined by a 7 byte bitpattern. The P0..P4 form the character pattern. -// P7 P6 P5 P4 P3 P2 P1 P0 -// 0 x x x 0 1 1 1 0 -// 1 x x x 1 0 0 0 1 +// User Defined Characters (UDCs) are defined by a 7 byte bitpattern. +// The P0..P4 form the UDC pattern. +// P7 P6 P5 P4 P3 P2 P1 P0 +// 0 x x x CD4 CD3 CD2 CD1 CD1 +// 1 x x x CD9 CD8 CD7 CD6 CD5 // . ............. -// 6 x x x 1 0 0 0 1 +// 6 x x x C35 C34 ... C31 // -// Blinking UDCs are enabled when the specific Grid blink controlbit is set. +// The UDC matrix will show on the VFD as +// 0 CD1 CD2 CD3 CD4 CD5 +// 1 CD6 CD7 ....... CD10 +// . ............. +// . ............. +// . ............. +// 6 CD31 C32 ....... CD35 // + // Some sample User Defined Chars 5x7 dots */ const char udc_Bat_Hi[] = {0x0E, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F}; // Battery Full const char udc_Bat_Ha[] = {0x0E, 0x11, 0x13, 0x17, 0x1F, 0x1F, 0x1F}; // Battery Half @@ -44,7 +52,7 @@ //const char udc_PC[] = {0x1C, 0x10, 0x08, 0x1F, 0x1B, 0x1B, 0x1F, 0x00}; //Padlock Closed // -// NOTE: the patterns below still need to be flipped or the will be mirrored on the display... +// NOTE: the bitpatterns below still need to be flipped or they will be mirrored on the display... // //const char udc_ae[] = {0x00, 0x00, 0x1B, 0x05, 0x1F, 0x14, 0x1F, 0x00}; //æ //const char udc_0e[] = {0x00, 0x00, 0x0E, 0x13, 0x15, 0x19, 0x0E, 0x00}; //ø