Program the control the fischertechnik robo interface or intelligent interface via tcp socket or via a java gui.

Dependencies:   mbed ConfigFile

ft.h

Committer:
networker
Date:
2010-12-31
Revision:
0:7f26f0680202

File content as of revision 0:7f26f0680202:

#ifndef FT_H
#define FT_H

typedef unsigned char   BYTE;
typedef unsigned short  USHORT;
typedef unsigned int    DWORD;

#pragma pack( push, 1 )
typedef union {
    BYTE    aucMsg[6];
    struct {
        BYTE    ucHwId;
        BYTE    ucSubId;
        union {
            struct {
                BYTE    ucB0;
                BYTE    ucB1;
                BYTE    ucB2;
                BYTE    ucB3;
            };
            struct {
                USHORT  uiMsgId;
                USHORT  uiMsg;
            } ;
            DWORD   dw;
        } ;
    } ;
} SMESSAGE;
#pragma pack( pop )

#endif