📄 lcd_fun.h
字号:
#ifndef _240128_FUN_H_
#define _240128_FUN_H_
#include "Global.h"
#define FB_ON 1
#define FB_OFF 0
int PrintCHZ(uint8 xs, uint16 ys, uint16 chzaddr, uint8 fb);//写一个字符或汉字
/*void glcd_print_ram(unsigned char x,unsigned char y,char *string); // 显示字符串RAM
void glcd_pixel(unsigned char column, unsigned char row, char show); //画、清点
void glcd_show(const unsigned char * s,int start_line,int how_many_line); //指定数据组图
void glcd_line(int x1, int y1, int x2, int y2, unsigned char show); //画直线
void glcd_circle(int x, int y, int radius, unsigned char show); //画圆
void glcd_circle_half(int x, int y, int radius, unsigned char show); //画半圆
void glcd_box(int x1, int y1, int x2, int y2, unsigned char show); //画矩形
void glcd_degree_line(int x, int y, int degree,
int inner_radius, int outer_radius, unsigned char show); //画线段
void glcd_degree_line_bold(int x, int y, int degree,
int inner_radius, int outer_radius, unsigned char show); //画线段包围线
void glcd_fill(int x1, int y1, int x2, int y2,
unsigned char persent,char first); //画进度条
int PrintDen(int xs, int ys, uint32 den); //显示十进制数,返回数据位数*/
//int Printfc(uint8 xs, uint8 ys, int fb, uint8 LBytes, uint8 Mode, uint8 *str);//格式输出
//void ClrRec(uint8 xs, uint8 ys, uint8 LBytes, uint8 fb);
//void DrawIcon(uint8 xs, uint8 ys, uint8 fb, unsigned char const *icon);//画图标
//int PrintFlo(int xs, int ys, uint32 den, uint32 mut, uint16 wei);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -