feedis_leddriver._h
来自「AVR系列单片机ATMEGA64开发的LED显示屏程序 内容包括ATMEGA6」· _H 代码 · 共 33 行
_H
33 行
#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);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?