点击此处下载
ourdev_721445OKMH29.rar(文件大小:29K) (原文件名:RA8806.rar)
(原文件名:00.jpg)
(原文件名:01.jpg)
(原文件名:02.jpg)
程序实现了刷图,描点,触摸,显示文字,大小,反 {MOD}等功能
主要函数
extern void soft_rst(void);
extern unsigned char read_status(void);
extern void write_reg(unsigned char reg_addr,unsigned char reg_data);
extern unsigned char read_reg(unsigned char reg_addr);
extern void write_dram(unsigned char *pdram_data,unsigned int dram_length);
extern void read_dram(unsigned char *pdram_data,unsigned int dram_length);
extern void write_dram_byte(unsigned char temp);
extern unsigned char read_dram_byte();
extern void RA8806_initial(void);
extern void fill_dram(unsigned char dram_data);
extern void dsp_str(unsigned char line,unsigned char column,unsigned char *str);
extern void reverse_show(bit en);
extern void text_mode(bit en);
extern void disp_on(bit en);
extern void eliminating_flicker(bit en);
extern void scan_mode(bit en);
extern void bold_enable(bit en);
extern void show_cursor(bit en);
extern void inverse_input(bit en);
extern void single_layer(bit layer);
extern void dual_layer(unsigned char mode);
extern void set_active_layer(unsigned char layer);
extern void cursor_vertical(bit en);
extern void enlarge(unsigned char k);
extern void set_active_window(unsigned char left,unsigned char right,unsigned char top,unsigned char bottom);
extern void enable_auto_touch(void);
extern void dotting(unsigned int x,unsigned int y);
//extern void draw_frame(unsigned char width,unsigned char height);
extern void draw_line(unsigned int x ,unsigned char y,unsigned int length,bit en);
一周热门 更多>