Subversion Repositories Code-Repo

Rev

Rev 228 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 228 Rev 230
Line 42... Line 42...
42
#define I2C_DAT_TRIS    TRISCbits.TRISC1
42
#define I2C_DAT_TRIS    TRISCbits.TRISC1
43
// </editor-fold>
43
// </editor-fold>
44
 
44
 
45
#define _XTAL_FREQ      32000000
45
#define _XTAL_FREQ      32000000
46
 
46
 
47
#define CMD_QUERY_BTN   0x10
47
#define CMD_QUERY_BTN   0x0A
48
#define CMD_SET_LEDS    0x11
48
#define CMD_SET_LEDS    0x0B
49
 
49
 
50
typedef union {
50
typedef union {
51
    struct {
51
    struct {
52
        unsigned BTN_L_N    :1;
52
        unsigned BTN_L_N    :1;
53
        unsigned BTN_L_S    :1;
53
        unsigned BTN_L_S    :1;