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

📄 44blcd.h

📁 在ARM7 44B0上开发的一个能下五子棋的程序 ADS1.2版本
💻 H
字号:
#ifndef __44BLCD_H__
#define __44BLCD_H__

#ifdef __cplusplus
extern "C" {
#endif
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
#include "44blcd.h"
#include "lcdlib.h"
#include <string.h>

#define frameBuffer   0xc400000

void LcdInit(void);
void clrscreen(void);

void PutPixelColor(U32 x,U32 y,U8 c);
void clrscreen(void);
void Lcd_Init(void);
U8 High_Low( U8 x );

//my extention funtion

void LCD_DrawHLine(U32 x1,U32 x2,U32 y,U8 c,U32 Width);
void LCD_DrawVLine(U32 y1,U32 y2,U32 x,U8 c,U32 Width);
void LCD_DrawRectange(U32 left,U32 top,U32 right,U32 bottom,U8 c);
void LCD_DrawCircle(U32 x0,U32 y0,U32 r,U8 c);

unsigned int (*frameBuffer1)[SCR_XSIZE/32];
unsigned int (*frameBuffer4)[SCR_XSIZE/16];
unsigned int (*frameBuffer16)[SCR_XSIZE/8];
unsigned int (*frameBuffer256)[SCR_XSIZE/4];


#endif /*__44blcd_H__*/


⌨️ 快捷键说明

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