⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feedis_leddriver.h

📁 AVR系列单片机ATMEGA64开发的LED显示屏程序 内容包括ATMEGA64大部分资源的初始化程序
💻 H
字号:
#ifndef feedisleddriver_h
#define feedisleddriver_h
#define LINH 7
#define LA	7
#define LB	6
#define LC	5
#define LD	4

#define CLK	5
#define OR	1
#define OG	7
#define STB	6

#define RAW_LINE 16

#define CLKSHIFT() SETBIT(PORTB,CLK);CLEARBIT(PORTB,CLK)
#define STBSHIFT() SETBIT(PORTB, STB);CLEARBIT(PORTB, STB)
//#pragma data:code

//#pragma data:data
unsigned char ledscreendis(unsigned char speed);
unsigned char hanzi(void);
/*
the function leddis()  gets the charactors from *add and fills the charactors' dots 
to the dis[], and the start of charactors in dis[] indicated by the column.
parameter:
uchar *add :the first address of the input charactors array
uchar numofbyte : the quantity of input charactors 
uchar column : the start column of these charactors in the dis[] ,it's rang from 0 to 4. 0 equal full 
screen display and 1-3 means display in the 1th-3rd column.
*/
unsigned char leddis(unsigned char * add,unsigned char numofbyte,unsigned char column);
unsigned char clean(unsigned char type);
//unsigned char ledscreendis(unsigned char * add,unsigned char speed);
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -