资源简介

OLED点阵显示中文字符,数字,变量的值得函数调用,包括简单的显示字库

资源截图

代码片段和文件信息


/*
this file is use for interlligent entrance guard
use the GPIO is P0.28--SDI P0.29--SCL P0.30--AO P0.31--RESB

*/
#include 
#include 
#include 

#include “usr_oled.h“
static const uint8_t OLED_list[]={1328293031};
//static const uint8_t OLED_list[]={1317181920};
#define ALL_data    100
#define ALL_char    20
uint8_t data_check[ALL_data][2]=
{“欢““迎““使““用““密““码““开““锁““非““法““户““请““输““入““致““新“
 “管““理““员““添““加““删““除““修““改““系““统““时““间““设““置““音“
 “量““双““重““认““证““有““效““网““关““恢““复““出““厂““待““编““号“
 “卡““片““或““指““纹““一““二““次““同““可““继““续““该““已““被““注“
 “册““范““围““清““空““未““再““启““关““闭““按““段““起““止““连““接“
“断““中““稍““后““超““取““消“};
//汉字显示为14*14
uint8_t data_show[][16]=
{
{0x000x000x480x880x080xC80x380x400x300x1E0xD00x100x500x300x000x00}
{0x000x200x100x0C0x030x060x180x400x200x180x070x180x200x400x000x00}//欢0

{0x000x800x840x980x000xF80x080x040x000xF80x080x080x080xF80x000x00}
{0x000x400x200x1F0x200x4F0x440x420x400x7F0x400x440x440x470x000x00}//迎1

{0x000x400x200xF80x060xE80x280x280x280xFE0x280x280x280xE80x000x00}
{0x000x000x000x7F0x000x410x230x150x090x170x210x210x410x410x000x00}//使2

{0x000x000x000xFC0x440x440x440x440xFC0x440x440x440x440xFC0x000x00}
{0x000x400x300x0F0x020x020x020x020x3F0x020x020x420x420x7F0x000x00}//用3

{0x000x8C0x640x040xE40x040x140xA60x440x240x140x840x240xCC0x000x00}
{0x000x040x040x3A0x220x210x210x3D0x210x210x210x790x000x000x000x00}//密4

{0x000x080xC80xB80x880x880x040xF40x840x840x840xFC0x800x800x000x00}
{0x000x010x3F0x100x100x3F0x040x040x040x040x040x440x400x3F0x000x00}//码5

{0x000x800x820x820xFE0x820x820x820x820x820xFE0x820x820x800x000x00}
{0x000x400x200x180x070x000x000x000x000x000x7F0x000x000x000x000x00}//开6

{0x000x200x500xCE0x480x480x000xE40x280x200xBE0x200x280xE40x000x00}
{0x000x020x020x7F0x220x120x400x4F0x200x100x0F0x100x200x4F0x000x00}//锁7

{0x000x080x880x880x880xFE0x000x000x000xFE0x880x880x880x080x000x00}
{0x000x080x080x080x080x7F0x000x000x000x7F0x080x080x080x080x000x00}//非8

{0x000x200x440x080x000x000x100x100x100xFE0x100x100x100x000x000x00}
{0x000x300x0C0x030x000x210x310x290x270x210x210x290x310x610x000x00}//法9

{0x000x000x000xF80x880x880x880x8A0x8C0x880x880x880x880xF80x000x00}
{0x000x400x300x0F0x000x000x000x000x000x000x000x000x000x010x000x00}//户10

{0x000x400x420xCC0x000x400x540x540x540x7E0x540x540x540x400x000x00}
{0x000x000x000x3F0x100x080x7F0x150x150x150x550x550x7F0x000x000x00}//请11

{0x000xE80x9E0xC80x880x200x900xA80xA40xA20x240x280x100xA00x000x00}
{0x

评论

共有 条评论