📄 iconprc.bak
字号:
//*******************************************************
//* *
//* REMOCON OF MASSAGE MACHINE FOR FAMILY *
//* *
//* DEVICE : uPD784218 *
//* *
//* SHANHAI INSTITUDE OF FAMILY *
//* *
//*******************************************************
//* ICON PROCESS *
//*******************************************************
#pragma sfr
#include <stdio.h>
#include <string.h>
#include "iconprc.h"
#include "disp.h"
#include "dlcd.h"
#include "key_hl.h"
#include "cmd.h"
#include "mode.h"
#include "trm.h"
#include "flag.h"
#include "vfd.h"
#include "tmr.h"
#include "slcd.h"
#include "text.h"
#include "sound.h"
#define TM300MS 2
//*******************************************************
// function prototype
//*******************************************************
void Vfd_int_init(void) ; //modify
void Loc_one_time_disp_p(unsigned char i, unsigned char *arry) ; //modify
void Loc_repeat_disp_p( unsigned char *arry) ; //modify
void Loc_time_disp_p( unsigned char *arry); //modify
void Vfd_manu_init_dsp_j(void) ; //modify
void Icon_prc(void); //modify
void Icon_set_data_j(void); //modify
int Dlcd_int_dsp(void);
void Dlcd_int_init(void);
void Br_pr_disp_prc(void);
void Insert_timer_disp(void) ;
void Loc_disp_p(unsigned char i,unsigned char *arry);
/*************************************************/
/*************************************************/
const unsigned char *Dlcd_time_display_tbl_j[] = {
"巆傝仚仚暘", // floating display
"巆傝侾暘", // floating display
"巆傝俀暘", // floating display
"巆傝俁暘", // floating display
"巆傝係暘", // floating display
"巆傝俆暘", // floating display
"巆傝俇暘", // floating display
"巆傝俈暘", // floating display
"巆傝俉暘", // floating display
"巆傝俋暘", // floating display
"巆傝侾侽暘", // floating display
"巆傝侾侾暘", // floating display
"巆傝侾俀暘", // floating display
"巆傝侾俁暘", // floating display
"巆傝侾係暘", // floating display
"巆傝侾俆暘", // floating display
""
};
/*********************************************/
/*********************************************/
const unsigned char ICON_UNI[][5] = {
{0xf0,0x71,0xf0,0x12,0x00}, //hand air soft 0
{0xf0,0x71,0xf0,0x11,0x00}, //hand air mid 1
{0xf0,0x71,0xf0,0x10,0x00}, //hand air str 2
{0xf0,0x80,0xf0,0x12,0x00}, //vib air soft 3
{0xf0,0x80,0xf0,0x11,0x00}, //vib air mid 4
{0xf0,0x80,0xf0,0x10,0x00}, //vib air str 5
{0xf0,0x90,0xf0,0x12,0x00}, //leg air soft 6
{0xf0,0x90,0xf0,0x11,0x00}, //leg air mid 7
{0xf0,0x90,0xf0,0x10,0x00}, //leg air str 8
{0xf0,0x60,0xf0,0x28,0x00}, //hand vib strong and bvib strong 9
{0xf0,0x60,0xf0,0x2a,0x00}, //only hand vib strong 10
{0xf0,0x62,0xf0,0x28,0x00}, //only bvib strong 11
{0x00,0x00,0x00,0x00,0x00}
};
/************************************/
/*2003-11-5 */
/************************************/
const unsigned char ICON[][3]={
{0xf0,0x10,0x00}, //strength: qiang 0
{0xf0,0x11,0x00}, //strength: middle 1
{0xf0,0x12,0x00}, //strength: soft 2
{0xf0,0x20,0x00}, //MM1 3
{0xf0,0x21,0x00}, //hand MM 4
{0xf0,0x22,0x00}, //W MM 5
{0xf0,0x23,0x00}, //MM and TT 6
{0xf0,0x24,0x00}, //ST1 7
{0xf0,0x25,0x00}, //ST2 8
{0xf0,0x26,0x00}, //TT1 9
{0xf0,0x27,0x00}, //TT2 10
{0xf0,0x28,0x00}, //BACK VIBRATOR strong 11
{0xf0,0x29,0x00}, //BACK VIBRATOR soft 12
{0xf0,0x2a,0x00}, //BACK VIBRATOR stop 13
{0xf0,0x30,0x00}, //ZHEN ZUAN ICON 14
{0xf0,0x31,0x00}, //NIE ZUAN ICON 1 15
{0xf0,0x32,0x00}, //SPEED 1 16
{0xf0,0x33,0x00}, //SPEED 2 17
{0xf0,0x34,0x00}, //SPEED 3 18
{0xf0,0x35,0x00}, //SPEED 4 19
{0xf0,0x36,0x00}, //SPEED 5 20
{0xf0,0x37,0x00}, //SPEED 6 21
{0xf0,0x40,0x00}, //narrow icon 22
{0xf0,0x41,0x00}, //mid icon 23
{0xf0,0x42,0x00}, //width icon 24
{0xf0,0x50,0x00}, //back roller 25
{0xf0,0x51,0x00}, //point roller 26
{0xf0,0x60,0x00}, //hand vib :strong 27
{0xf0,0x61,0x00}, //hand vib: soft 28
{0xf0,0x62,0x00}, //hand vib: stop 29
{0xf0,0x70,0x00}, //foot air massage 30
{0xf0,0x71,0x00}, //hand air massage 31
{0xf0,0x80,0x00}, //hip air massage 32
{0xf0,0x90,0x00}, //leg air massage 33
{0xf0,0x2b,0x00}, //test vfd disp icon: Aliant line1
{0xf0,0x2c,0x00}, //test vfd disp icon: Aliant line2
{0x00,0x00,0x00}
};
// "儕僋儔僀僯儞僌傪搢偣偽搢偡傎偳丄儅僢僒乕僕偺懱姶偼嫮偔側傝傑偡丅儕僋儔僀僯儞僌傪婲偙偣偽婲偙偡傎偳丄
//儅僢僒乕僕偺懱姶偼庛偔側傝傑偡丅傑偨丄僶僗僞僆儖傗栄晍傪攚傕偨傟偲攚拞偺娫偵嫴傫偱偄偨偩偔偲丄巋寖偼僜僼僩偵側傝傑偡丅",
//
const unsigned char standby_tbl_j[] =
{0x83,0x8a,0x83,0x4e,0x83,0x89,0x83,0x43,0x83,0x6a,0x83,0x93,0x83,0x4f,0x82,0xf0,0x93,0x7c,0x82,0xb9,
0x82,0xce,0x93,0x7c,0x82,0xb7,0x82,0xd9,0x82,0xc7,0x81,0x41,0x83,0x7d,0x83,0x62,0x83,0x54,0x81,0x5b,
0x83,0x57,0x82,0xcc,0x91,0xcc,0x8a,0xb4,0x82,0xcd,0x8b,0xad,0x82,0xad,0x82,0xc8,0x82,0xe8,0x82,0xdc,
0x82,0xb7,0x81,0x42,0x83,0x8a,0x83,0x4e,0x83,0x89,0x83,0x43,0x83,0x6a,0x83,0x93,0x83,0x4f,0x82,0xf0,
0x8b,0x4e,0x82,0xb1,0x82,0xb9,0x82,0xce,0x8b,0x4e,0x82,0xb1,0x82,0xb7,0x82,0xd9,0x82,0xc7,0x81,0x41,
0x83,0x7d,0x83,0x62,0x83,0x54,0x81,0x5b,0x83,0x57,0x82,0xcc,0x91,0xcc,0x8a,0xb4,0x82,0xcd,0x8e,0xe3,
0x82,0xad,0x82,0xc8,0x82,0xe8,0x82,0xdc,0x82,0xb7,0x81,0x42,0x82,0xdc,0x82,0xbd,0x81,0x41,0x83,0x6f,
0x83,0x58,0x83,0x5e,0x83,0x49,0x83,0x8b,0x82,0xe2,0x96,0xd1,0x95,0x7a,0x82,0xf0,0x94,0x77,0x82,0xe0,
0x82,0xbd,0x82,0xea,0x82,0xc6,0x94,0x77,0x92,0x86,0x82,0xcc,0x8a,0xd4,0x82,0xc9,0x8b,0xb2,0x82,0xf1,
0x82,0xc5,0x82,0xa2,0x82,0xbd,0x82,0xbe,0x82,0xad,0x82,0xc6,0x81,0x41,0x8e,0x68,0x8c,0x83,0x82,0xcd,
0x83,0x5c,0x83,0x74,0x83,0x67,0x82,0xc9,0x82,0xc8,0x82,0xe8,0x82,0xdc,0x82,0xb7,0x81,0x42,0x00};
/******************************************************///
/******************************************************/
const unsigned char *Standby_tbl_j[] ={
"",
"抬胸耙擗顿联卑",
// "儕僋儔僀僯儞僌傪搢偣偽搢偡傎偳丄儅僢僒乕僕偺懱姶偼嫮偔側傝傑偡丅
//儕僋儔僀僯儞僌傪婲偙偣偽婲偙偡傎偳丄儅僢僒乕僕偺懱姶偼庛偔側傝傑偡丅
//傑偨丄僶僗僞僆儖傗栄晍傪攚傕偨傟偲攚拞偺娫偵嫴傫偱偄偨偩偔偲丄巋寖偼僜僼僩偵側傝傑偡丅",
standby_tbl_j ,
""
};
/******************************************************/
/******************************************************/
const unsigned char *Vfd_manul_start_tbl_j[] =
{
"",
"帺桼慖戰僐乕僗",
"儅僢僒乕僕傪奐巒偟傑偡丅",
""
};
//儕僘
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -