虫虫首页|资源下载|资源专辑|精品软件
登录|注册

点阵汉字

  • 汉字字库的点阵提取程序

    汉字字库的点阵提取程序可以从汉字字库中提取汉字的点阵,是一个编写液晶显示汉字的软件工具。

    标签: 汉字字库 点阵 程序

    上传时间: 2013-12-31

    上传用户:秦莞尔w

  • 16 16点阵显示汉字原理及显示程序

    16 16点阵显示汉字原理及显示程序 #include "config.h" #define                DOTLED_LINE_PORT        PORTB #define                DOTLED_LINE_DDR                DDRB #define                DOTLED_LINE_PIN                PINB #define                DOTLED_LINE_SCKT        PB1 #define                DOTLED_LINE_SCKH        PB5 #define                DOTLED_LINE_SDA                PB3 #define                DOTLED_ROW_PORT                PORTC #define                DOTLED_ROW_DDR                DDRC #define                DOTLED_ROW_PIN                PINC #define                DOTLED_ROW_A0                PC0 #define                DOTLED_ROW_A1                PC1 #define                DOTLED_ROW_A2                PC2 #define                DOTLED_ROW_A3                PC3 #define                DOTLED_ROW_E                PC4 uint8 font[] = { /*--  调入了一幅图像:这是您新建的图像  --*/ /*--  宽度x高度=16x16  --*/ 0x00,0x00,0x00,0x00,0x08,0x38,0x18,0x44,0x08,0x44,0x08,0x04,0x08,0x08,0x08,0x10, 0x08,0x20,0x08,0x40,0x08,0x40,0x08,0x40,0x3E,0x7C,0x00,0x00,0x00,0x00,0x00,0x00 }; static void TransmitByte(uint8 byte); static void SelectRow(uint8 row); static void FlipLatchLine(void); static void TransmitByte(uint8 byte) {         uint8 i;                  for(i = 0 ; i < 8 ; i ++)         {                 if(byte & (1 << i))                 {                         DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA);                 }                 else                 {                         DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SDA);                 }                 //__delay_cycles(100);                 DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKH);                 //__delay_cycles(100);                 DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKH);                 //__delay_cycles(100);         } } static void SelectRow(uint8 row) {           //row -= 1;         row |= DOTLED_ROW_PIN & 0xe0;         DOTLED_ROW_PORT = row; } static void FlipLatchLine(void) {         DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKT);         DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKT); } void InitDotLedPort(void) {         DOTLED_LINE_PORT &= ~(_BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH));         DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA);         DOTLED_LINE_DDR |= _BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH) | _BV(DOTLED_LINE_SDA);                  DOTLED_ROW_PORT |= 0x1f;         DOTLED_ROW_PORT &= 0xf0;         DOTLED_ROW_DDR |= 0x1f; } void EnableRow(boolean IsEnable) {         if(IsEnable)         {                 DOTLED_ROW_PORT &= ~_BV(DOTLED_ROW_E);         }         else         {                 DOTLED_ROW_PORT |= _BV(DOTLED_ROW_E);         } } void PrintDotLed(uint8 * buffer) {         uint8 i , tmp;                  for(i = 0 ; i < 16 ; i ++)         {                 tmp = *buffer ++;                 TransmitByte(~tmp);                 tmp = *buffer ++;                 TransmitByte(~tmp);                 SelectRow(i);                 FlipLatchLine();         } } void main(void) {         InitDotLedPort();                  EnableRow(TRUE);                  while(1)         {                 PrintDotLed(font);                 __delay_cycles(5000);         }          } //---------------------------------------------------- config.h文件 #ifndef        _CONFIG_H #define        _CONFIG_H //#define                GCCAVR #define                CPU_CYCLES        7372800L #ifndef                GCCAVR #define                _BV(bit)        (1 << (bit)) #endif #define                MSB                0x80 #define                LSB                0x01 #define                FALSE                0 #define                TRUE                1 typedef                unsigned char        uint8; typedef                unsigned int        uint16; typedef                unsigned long        uint32; typedef                unsigned char        boolean; #include <ioavr.h> #include <inavr.h> #include "dotled.h" #endif //-----

    标签: 16 点阵显示 汉字 显示程序

    上传时间: 2013-11-17

    上传用户:mnacyf

  • 汉字点阵显示程序

    汉字点阵显示程序

    标签: 汉字 点阵显示 程序

    上传时间: 2013-12-01

    上传用户:zhaiye

  • 一个显示所有点阵字库内容的工具源代码。在汉字显示和过国家标准有极其重要的作用。

    一个显示所有点阵字库内容的工具源代码。在汉字显示和过国家标准有极其重要的作用。

    标签: 点阵字库 源代码 汉字显示 国家标准

    上传时间: 2015-02-12

    上传用户:gxmm

  • 基于89C52+T6963C的液晶驱动程序,可以显示16*16汉字32个,8*16点阵ASC,8*8点阵ASC,绘制直线等

    基于89C52+T6963C的液晶驱动程序,可以显示16*16汉字32个,8*16点阵ASC,8*8点阵ASC,绘制直线等

    标签: ASC 16 6963 点阵

    上传时间: 2014-01-03

    上传用户:zq70996813

  • T6963控制的240*128点阵液晶显示汉字程序

    T6963控制的240*128点阵液晶显示汉字程序

    标签: T6963 240 128 控制

    上传时间: 2014-06-14

    上传用户:wang0123456789

  • 介绍如何使用UCDOS的HZK16 点阵字库,对于想在LCD上显示汉字的看一下就明白了。

    介绍如何使用UCDOS的HZK16 点阵字库,对于想在LCD上显示汉字的看一下就明白了。

    标签: UCDOS HZK LCD 16

    上传时间: 2013-12-11

    上传用户:FreeSky

  • 用单片机实现在LED点阵上显示汉字

    用单片机实现在LED点阵上显示汉字,用C语言编写,用kile编译,再烧录在89S52上

    标签: LED 用单片机 点阵 汉字

    上传时间: 2015-03-22

    上传用户:lps11188

  • 汉字点阵显示资料,网上下载的,有用就下吧

    汉字点阵显示资料,网上下载的,有用就下吧

    标签: 汉字 点阵显示

    上传时间: 2013-12-24

    上传用户:csgcd001

  • LCD的字模软件,用来生成点阵文件,可以处理汉字和位图

    LCD的字模软件,用来生成点阵文件,可以处理汉字和位图

    标签: LCD 字模软件 位图 点阵

    上传时间: 2015-05-28

    上传用户:haoxiyizhong