📄 vfd_led_829_l.h
字号:
#ifndef __HT_13D_15S_H
#define __HT_13D_15S_H
/* The following describe NINTAUS N701 Panel */
/* */
#if 0
#define VFD_DOT_PGM01 (92)
#define VFD_DOT_PGM02 (93)
#define VFD_DOT_PGM03 (94)
#define VFD_DOT_PGM04 (95)
#define VFD_DOT_PGM05 (88)
#define VFD_DOT_PGM06 (89)
#define VFD_DOT_PGM07 (90)
#define VFD_DOT_PGM08 (91)
#define VFD_DOT_PGM09 (84)
#define VFD_DOT_PGM10 (85)
#define VFD_DOT_PGM11 (86)
#define VFD_DOT_PGM12 (87)
#define VFD_DOT_PGM13 (80)
#define VFD_DOT_PGM14 (81)
#define VFD_DOT_PGM15 (82)
#define VFD_DOT_PGM16 (83)
#endif
//#define VFD_DOT_1L (117)
//#define VFD_DOT_2R (118)
#define VFD_DOT_PBC (58)//BYTE 1,bit 7
//#define VFD_DOT_ANGLE (207)//BYTE 3,bit 7
#define VFD_DOT_MINSEC (37)//BYTE 2, bit 7
#define VFD_DOT_MIN (21)//BYTE 4, bit 7
//#define VFD_DOT_DOBLY (39)//BYTE 5, bit 7
//#define VFD_DOT_COLO1 (79)
//#define VFD_DOT_COLO2 (79)
#define VFD_DOT_DVD (10)//BYTE 9,bit 7
#define VFD_DOT_CD (255)//BYTE 7,bit 4
#define VFD_DOT_VCD (26)//BYTE 7,bit 5
//#define VFD_DOT_S (194)//BYTE 7,bit 6
#define VFD_DOT_MP3 (42)//BYTE 1,bit 6//nono 2-4-29 23:23
#define VFD_DOT_DTS (69)//BYTE 7,bit 7
#define VFD_DOT_PLAY (74)//BYTE 7,bit 3
#define VFD_DOT_REPEAT (5)//BYTE 7,bit 0
//#define VFD_DOT_REPALL (71)//BYTE 7,bit 1
//#define VFD_DOT_REPAB (0)
#define VFD_DOT_PAUSE (90)//BYTE 7
#define VFD_DOT_MP4 (255)
//#define VFD_DOT_RANDOM (0)
//#define VFD_DOT_MUTE (0)
//#define VFD_DOT_PROGRAM 38)
//#define VFD_DOT_SLEEP (62)
//#define VFD_DOT_TIMER (0)
#define VFD_DOT_DOBLY (53)
//#define VFD_DOT_PAL (202)
//#define VFD_DOT_NTSC (205)
//#define VFD_DOT_CENTER (1)
//#define VFD_DOT_SURLR (0)
//#define VFD_DOT_SUBWOOF (2)
#if 0
#define VFDA_T20 6
#define VFDA_T21 7
#define VFDA_T10 9
#define VFDA_T11 10
#define VFDA_T00 12
#define VFDA_T01 13
#define VFDA_P10 15
#define VFDA_P11 16
#define VFDA_P00 18
#define VFDA_P01 19
#define VFDA_CHAR00 21
#define VFDA_CHAR01 22
#define VFDA_M10 24
#define VFDA_M11 25
#define VFDA_M00 27
#define VFDA_M01 28
#define VFDA_S10 30
#define VFDA_S11 31
#define VFDA_S00 33
#define VFDA_S01 34
#define VFDA_T0 1
#define VFDA_T1 0
#define VFDA_P0 3//1
#define VFDA_P1 2//0
#define VFDA_M0 6//5
#define VFDA_M1 8//4
#define VFDA_S0 11//7
#define VFDA_S1 10//6
#define VFDA_CHAR 4
#endif
/*
** Definition for 7-seg display
**
** we assume 7-seg are defined as traditional 7-segment LED.
**
** AAAA
** F B
** F B
** GGGG
** E C
** E C
** DDDD
**
**
*/
#define VFD_7SEG_SH (0x01)
#define VFD_7SEG_SG (0x02)
#define VFD_7SEG_SF (0x04)
#define VFD_7SEG_SE (0x08)
#define VFD_7SEG_SD (0x10)
#define VFD_7SEG_SC (0x20)
#define VFD_7SEG_SB (0x40)
#define VFD_7SEG_SA (0x80)
#define VFD_7SEG_0 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF)
#define VFD_7SEG_1 (VFD_7SEG_SB|VFD_7SEG_SC)
#define VFD_7SEG_2 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SG|VFD_7SEG_SH|VFD_7SEG_SE|VFD_7SEG_SD)
#define VFD_7SEG_3 (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SG|V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_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_F (VFD_7SEG_SA|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_G (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_H (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_I (VFD_7SEG_SB|VFD_7SEG_SC)
#define VFD_7SEG_J (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE)
#define VFD_7SEG_K (VFD_7SEG_SB|VFD_7SEG_SE|VFD_7SEG_SG|VFD_7SEG_SH|VFD_7SEG_SF)
#define VFD_7SEG_L (VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF)
#define VFD_7SEG_M (VFD_7SEG_SF|VFD_7SEG_SD|VFD_7SEG_SE)
#define VFD_7SEG_N (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF)
//#define VFD_7SEG_N (VFD_7SEG_SF|VFD_7SEG_SD|VFD_7SEG_SE)
#define VFD_7SEG_O (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF)
#define VFD_7SEG_P (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_Q (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_r (VFD_7SEG_SD|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_R VFD_7SEG_r
#define VFD_7SEG_S (VFD_7SEG_SA|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_t (VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_T VFD_7SEG_t
#define VFD_7SEG_U (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF)
#define VFD_7SEG_V (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SF)
#define VFD_7SEG_W (VFD_7SEG_SC|VFD_7SEG_SB|VFD_7SEG_SF|VFD_7SEG_SE|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_X (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SE|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_Y (VFD_7SEG_SB|VFD_7SEG_SC|VFD_7SEG_SD|VFD_7SEG_SF|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_Z (VFD_7SEG_SA|VFD_7SEG_SB|VFD_7SEG_SD|VFD_7SEG_SE|VFD_7SEG_SG|VFD_7SEG_SH)
#define VFD_7SEG_MASK 0xff
#endif /*__FUT_6_BT_269GK1_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -