资源简介
常用点阵显示(74ls595)驱动 含有11个文件,每个文件都有带有protues仿真图,主要包含8*8 16*16 16*32各种点阵显示
代码片段和文件信息
/*----------------------------*/
/*16*16点阵显示*/
/*----------------------------------*/
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit CLK=P3^0; //
sbit CLK1=P3^1; //
sbit CLK2=P3^2; //
sbit CLK3=P3^3; //
char code table[]={
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x400x000x300x000x0F0xFC0x000x040x000x040x000x040x000x040x000x05 //广
0x000x060x000x040x000x040x000x040x000x040x000x060x000x040x000x00
0x000x080x400x080x210x080x110x880x0D0x680x410x180x810x0F0x7F0xE8 //东
0x010x080x050x080x090x080x310x880x610x080x000x0C0x000x080x000x00
0x040x100x040x220xFE0x640x010x0C0x010x900x1F0x080x110xF70x110x14 //海
0x130x340x150x540x510x140x910x140x7F0xF60x110x040x010x000x000x00
0x040x100x040x220xFE0x640x010x0C0x040x800x040x080x040x490x040x4A //洋
0x040x4C0xFF0xF80x040x4C0x040x4A0x040x490x060x080x040x000x000x00
0x000x200x400x200x400x200x200x200x100x200x0C0x200x030xA00x000x7F //大
0x010xA00x060x200x080x200x100x200x200x200x600x300x200x200x000x00
0x040x400x040x300x040x110x040x960x040x900x440x900x840x910x7E0x96 //学
0x060x900x050x900x040x980x040x140x040x130x060x500x040x300x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
};
void Delay1ms( int ms)
{
int i;
while(ms--)
{
for(i = 0; i< 250; i++)
{
_nop_();
_nop_();
_nop_();
_nop_();
}
}
}
main()
{
uint jkl;
while(1)
{
for(k=0;k<256;k=k+2)
{
for(l=0;l<3;l++)
{
P2=0XFE;
for(j=0;j<16;j=j+2)
{
P0=table[j+1+k];
CLK=0;
CLK=1;
P0=table[j+k];
CLK1=0;
CLK1=1;
P0=table[j+17+k];
CLK2=0;
CLK2=1;
P0=table[j+16+k];
CLK3=0;
CLK3=1;
Delay1ms(1);
P2=~(~P2<<1);
- 上一篇:ucc3895应用
- 下一篇:汇编语言程序设计课件
相关资源
- 键盘扫描与数码管及点阵显示设计课
- 基于51单片机的点阵显示汉字系统内涵
- 基于单片机的LED点阵显示系统设计
- 基于FPGA的16x16点阵显示汉字设计
- LED8X8点阵显示心形
- 16×16点阵(滚动显示)\\汉字LED点阵显
- 16*64led点阵显示屏
- 基于52单片机LED点阵显示电子钟的设计
- 16_64点阵显示汉字程序
- LCD液晶点阵显示中英文例程
- 16×64LED点阵显示屏的设计(附完整p
- 16*16点阵设计电路图
- LED点阵显示汉字
- 基于51单片机的16*16点阵显示汉字
- LabVIEW 点阵显示字符串
- 51单片机控制LED点阵显示Proteus仿真
- 基于HT1632C的点阵显示驱动子程序
- LED点阵显示屏.rar
- 基于FPGAVerilog HDL16*16点阵显示字符
- 8x8LED点阵显示学号及姓名
- 各种汉字字库16x1624x2432x3240x4048x48.ra
- 16×64LED点阵显示屏的设计(附完整
- 16x16 点阵显示汉字 右移 595 汇编
- C51贪吃蛇(MPU6050控制方向,LED点阵显
- 16点阵汉字库点阵显示程序
- 实验16 16×16 LED点阵的扫描显示
- 16x16 点阵显示汉字 左移 汇编595
- 汇编语言设计LED点阵显示字符
- 点阵显示609
- 基于STM32的点阵LED显示系统
评论
共有 条评论