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

📄 panel.h

📁 VFD显示屏的驱动UPD16312的完整C测试程序,已正常使用.
💻 H
📖 第 1 页 / 共 2 页
字号:
#define    VFD_5S2_ADDR            VFD_GRID_ADDR2
#define    VFD_5S2                 0x0

//----------------------


//----------------------
//other position
//new added for "8_ST_20GK" panel
#define    VFD_REP_DISC_ADDR       VFD_GRID_ADDR4
#define    VFD_REP_DISC            0x0
#define    VFD_REP_S_ADDR          VFD_GRID_ADDR4
#define    VFD_REP_S               0x0
#define    VFD_MPX_ADDR            VFD_GRID_ADDR4
#define    VFD_MPX                 0x0
#define    VFD_OFF_ADDR            VFD_GRID_ADDR5
#define    VFD_OFF                 0x0
#define    VFD_ON_ADDR             VFD_GRID_ADDR5
#define    VFD_ON                  0x0
#define    VFD_SUR_ADDR            VFD_GRID_ADDR5
#define    VFD_SUR                 0x0
#define    VFD_S4_ADDR             VFD_GRID_ADDR5    //border of PBC off/on
#define    VFD_S4                  0x0
#define    VFD_VOLUME_ADDR         12
#define    VFD_VOLUME              0x0
#define    VFD_S3_ADDR             12    //border of volume bar
#define    VFD_S3                  0x0
#define    VFD_STEP_ADDR           VFD_GRID_ADDR7
#define    VFD_STEP                0x0
#define    VFD_VIDEO_ADDR          VFD_GRID_ADDR1
#define    VFD_VIDEO               0x0
//new added end for "8_ST_20GK" panel


//Ver 0.42 added
#define    VFD_SCF_ADDR            0
#define    VFD_SCF                 0
#define    VFD_SCB_ADDR            0
#define    VFD_SCB                 0
#define    VFD_NEXTBAR_ADDR        0     //It's the symbol "|" of >>|
#define    VFD_NEXTBAR             0
//#define    VFD_SLOW_ADDR           0
//#define    VFD_SLOW                0
//#define    VFD_FAST_ADDR           0     //If there is a light that indicate 2_speed.
//#define    VFD_FAST                0
//#define    VFD_FREEZE_ADDR         0     //If there is a light that indicate FREEZE mode.
//#define    VFD_FREEZE              0
//Ver 0.42 end




//ADD











#define    VFD_SEC_N1_ADDR         VFD_GRID_ADDR6
#define    VFD_SEC_N2_ADDR         VFD_GRID_ADDR7
#define    VFD_SEC_ADDR            VFD_GRID_ADDR7
#define    VFD_SEC                 0x80
#define    VFD_MIN_N1_ADDR         VFD_GRID_ADDR4
#define    VFD_MIN_N2_ADDR         VFD_GRID_ADDR5
#define    VFD_MIN_ADDR            VFD_GRID_ADDR5
#define    VFD_MIN                 0x80
#define    VFD_N1_ADDR             VFD_GRID_ADDR0
#define    VFD_N2_ADDR             VFD_GRID_ADDR1
#define    VFD_DASH_ADDR           VFD_GRID_ADDR2
#define    VFD_DASH                0X10
#define    VFD_COL_ADDR            VFD_GRID_ADDR4
#define    VFD_COL                 0x80
#define    VFD_TRACK_ADDR          12
#define    VFD_TRACK               0

#define    VFD_REPEAT_ADDR         VFD_GRID_ADDR3
#define    VFD_REPEAT              0x01
#define    VFD_REP_ALL_ADDR        VFD_GRID_ADDR3
#define    VFD_REP_ALL             0x04
#define    VFD_REP_1_ADDR          VFD_GRID_ADDR3
#define    VFD_REP_1               0x02
#define    VFD_REP_A_ADDR          VFD_GRID_ADDR3
#define    VFD_REP_A               0x08
#define    VFD_REP_B_ADDR          VFD_GRID_ADDR3
#define    VFD_REP_B               0x10

#define    VFD_VOCAL_ADDR          12
#define    VFD_VOCAL               0
#define    VFD_1L_ADDR             VFD_GRID_ADDR9
#define    VFD_1L                  0x10
#define    VFD_2R_ADDR             VFD_GRID_ADDR9
#define    VFD_2R                  0x20
#define    VFD_NTSC_ADDR           VFD_GRID_ADDR3
#define    VFD_NTSC                0x40
#define    VFD_PAL_ADDR            VFD_GRID_ADDR3
#define    VFD_PAL                 0x80

#define    VFD_CDG_ADDR            12
#define    VFD_CDG                 0
#define    VFD_CDI_ADDR            12
#define    VFD_CDI                 0
#define    VFD_AUX_ADDR            12
#define    VFD_AUX                 0
#define    VFD_VCD_ADDR            VFD_GRID_ADDR2
#define    VFD_VCD                 0x20
#define    VFD_CD_ADDR             12
#define    VFD_CD                  0

#define    VFD_MEM_ADDR            VFD_GRID_ADDR3
#define    VFD_MEM                 0x20
#define    VFD_PGM_ADDR            VFD_GRID_ADDR8
#define    VFD_PGM                 0x01
#define    VFD_INTRO_ADDR          VFD_GRID_ADDR9
#define    VFD_INTRO               0x01
#define    VFD_RAN_ADDR            VFD_GRID_ADDR8
#define    VFD_RAN                 0x02
#define    VFD_TIME_ADDR           VFD_GRID_ADDR9
#define    VFD_TIME                0x08
#define    VFD_REMAIN_ADDR         VFD_GRID_ADDR8
#define    VFD_REMAIN              0x40
#define    VFD_RESUME_ADDR         VFD_GRID_ADDR8
#define    VFD_RESUME              0x80
#define    VFD_SPACE_ADDR          VFD_GRID_ADDR9
#define    VFD_SPACE               0x04

#define    VFD_20PLUS_ADDR         VFD_GRID_ADDR9
#define    VFD_20PLUS              0x40
#define    VFD_OVER_ADDR           0
#define    VFD_OVER                0

#define    VFD_KARAOKE_ADDR        12
#define    VFD_KARAOKE             0
#define    VFD_MIC1_ADDR           VFD_GRID_ADDR2
#define    VFD_MIC1                0x80
#define    VFD_MIC2_ADDR           VFD_GRID_ADDR2
#define    VFD_MIC2                0x40
#define    VFD_SAB_ADDR            12
#define    VFD_SAB                 0
#define    VFD_SA_ADDR             12
#define    VFD_SA                  0
#define    VFD_SB_ADDR             12
#define    VFD_SB                  0

#define    VFD_PLAY_ADDR           VFD_GRID_ADDR8
#define    VFD_PLAY                0x08
#define    VFD_PAUSE_ADDR          VFD_GRID_ADDR8
#define    VFD_PAUSE               0x10

#define    VFD_PBC_ADDR            VFD_GRID_ADDR8
#define    VFD_PBC                 0x04
#define    VFD_PBC20_ADDR          VFD_GRID_ADDR9
#define    VFD_PBC20               0x80

#define    VFD_EDIT_ADDR           12
#define    VFD_EDIT                0
#define    VFD_LEVEL_ADDR          12
#define    VFD_LEVEL               0
#define    VFD_FADE_ADDR           12
#define    VFD_FADE                0
#define    VFD_FADEUP_ADDR         12
#define    VFD_FADEUP              0
#define    VFD_FADEDOWN_ADDR       12
#define    VFD_FADEDOWN            0
#define    VFD_RECIEVER_ADDR       12
#define    VFD_RECIEVER            0
#define    VFD_KHZ_ADDR            12
#define    VFD_KHZ                 0
#define    VFD_MHZ_ADDR            12
#define    VFD_MHZ                 0
#define    VFD_KEY_ADDR            12
#define    VFD_KEY                 0
#define    VFD_KEYUP_ADDR          12
#define    VFD_KEYUP               0
#define    VFD_KEYDOWN_ADDR        12
#define    VFD_KEYDOWN             0
#define    VFD_SLEEP_ADDR          12
#define    VFD_SLEEP               0
#define    VFD_STEREO_ADDR         12
#define    VFD_STEREO              0
#define    VFD_BLANK_ADDR          12
#define    VFD_BLANK               0
#define    VFD_CH_ADDR             12
#define    VFD_CH                  0


//Letter Pattern Definition
#define    NUM_0                   0x3F
#define    NUM_1                   0x06
#define    NUM_2                   0x5B
#define    NUM_3                   0x4F
#define    NUM_4                   0x66
#define    NUM_5                   0x6D
#define    NUM_6                   0x7D
#define    NUM_7                   0x07
#define    NUM_8                   0x7F
#define    NUM_9                   0x6F

#define    LETT_O                  NUM_0
#define    LETT_P                  0x73
#define    LETT_F                  0x71
#define    LETT_N                  0x37

#define    LETT_n                  0xB3
#define    LETT_o                  NUM_0
#define    LETT_d                  0x5E
#define    LETT_I                  0x06
#define    LETT_S                  0x6D
#define    LETT_C                  0x39

#define    LETT_A                  0x00

#define    LETT_b                  0x7C
#define    LETT_c                  0x39

#define    LETT_DASH               0x40    // -- : --


//#endif  // __PANEL_H__
                                       

⌨️ 快捷键说明

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