44extern const uint16_t *Zone_TextDisplay[];
66 int data, length, index;
71 length = strlen(
string);
75 for (index = 0; index < LCD_ZoneInfo[u32Zone].
Sub_Zone_Num; index++)
87 bitfield = *(Zone_TextDisplay[u32Zone] + data);
101 if (bitfield & (1 << i))
125 long long num, i, com, bit, div, len, tmp;
138 if( (tmp/10) || (tmp%10) )
152 for (index = (LCD_ZoneInfo[u32Zone].Sub_Zone_Num-1); index >= 0; index--)
154 num = (
value / div) % 10;
157 bitpattern = *(Zone_TextDisplay[u32Zone] + num);
161 bit = *(Zone[u32Zone]
164 com = *(Zone[u32Zone]
170 if (bitpattern & (1 << i))
204 if(u32Index > LCD_ZoneInfo[u32Zone].Sub_Zone_Num)
return;
208 bitfield = *(Zone_TextDisplay[u32Zone] + data);
212 bit = *(Zone[u32Zone]
216 com = *(Zone[u32Zone]
222 if (bitfield & (1 << i))
246 bit = *(Zone[u32Zone] + u32Index*2 + 1);
248 com = *(Zone[u32Zone] + u32Index*2 + 0);
Nano 102/112 series LCDLIB header file.
Nano102/112 peripheral access layer header file. This file contains all the peripheral register's def...
void LCD_SetPixel(uint32_t u32Com, uint32_t u32Seg, uint32_t u32OnFlag)
Enables a segment on the LCD display.
uint32_t Zone_Digit_SegNum
Segment number.
uint32_t Sub_Zone_Num
Sub zone number.
void LCDLIB_PrintNumber(uint32_t u32Zone, long long value)
Display number on LCD.
void LCDLIB_Printf(uint32_t u32Zone, char *string)
Display text on LCD.
void LCDLIB_SetSymbol(uint32_t u32Zone, uint32_t u32Index, uint32_t u32OnOff)
Display symbol on LCD.
void LCDLIB_PutChar(uint32_t u32Zone, uint32_t u32Index, uint8_t u8Ch)
Display character on LCD.
Nano102/112 series LCD driver header file.