class library to access fischertechnik interfaces via USB
Dependencies: FatFileSystem mbed myBlueUSB neigbourhood rfcomm sdp
ftlib/ft.h
- Committer:
- networker
- Date:
- 2013-03-11
- Revision:
- 1:4676e8b9b357
- Parent:
- 0:7da612835693
File content as of revision 1:4676e8b9b357:
#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