Program the control the fischertechnik robo interface or intelligent interface via tcp socket or via a java gui.
ft.h@1:2c9d412ad471, 2011-05-04 (annotated)
- Committer:
- networker
- Date:
- Wed May 04 15:42:13 2011 +0000
- Revision:
- 1:2c9d412ad471
- Parent:
- 0:7f26f0680202
first publication (mbed challenge submission)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
networker | 0:7f26f0680202 | 1 | #ifndef FT_H |
networker | 0:7f26f0680202 | 2 | #define FT_H |
networker | 0:7f26f0680202 | 3 | |
networker | 0:7f26f0680202 | 4 | typedef unsigned char BYTE; |
networker | 0:7f26f0680202 | 5 | typedef unsigned short USHORT; |
networker | 0:7f26f0680202 | 6 | typedef unsigned int DWORD; |
networker | 0:7f26f0680202 | 7 | |
networker | 0:7f26f0680202 | 8 | #pragma pack( push, 1 ) |
networker | 0:7f26f0680202 | 9 | typedef union { |
networker | 0:7f26f0680202 | 10 | BYTE aucMsg[6]; |
networker | 0:7f26f0680202 | 11 | struct { |
networker | 0:7f26f0680202 | 12 | BYTE ucHwId; |
networker | 0:7f26f0680202 | 13 | BYTE ucSubId; |
networker | 0:7f26f0680202 | 14 | union { |
networker | 0:7f26f0680202 | 15 | struct { |
networker | 0:7f26f0680202 | 16 | BYTE ucB0; |
networker | 0:7f26f0680202 | 17 | BYTE ucB1; |
networker | 0:7f26f0680202 | 18 | BYTE ucB2; |
networker | 0:7f26f0680202 | 19 | BYTE ucB3; |
networker | 0:7f26f0680202 | 20 | }; |
networker | 0:7f26f0680202 | 21 | struct { |
networker | 0:7f26f0680202 | 22 | USHORT uiMsgId; |
networker | 0:7f26f0680202 | 23 | USHORT uiMsg; |
networker | 0:7f26f0680202 | 24 | } ; |
networker | 0:7f26f0680202 | 25 | DWORD dw; |
networker | 0:7f26f0680202 | 26 | } ; |
networker | 0:7f26f0680202 | 27 | } ; |
networker | 0:7f26f0680202 | 28 | } SMESSAGE; |
networker | 0:7f26f0680202 | 29 | #pragma pack( pop ) |
networker | 0:7f26f0680202 | 30 | |
networker | 0:7f26f0680202 | 31 | #endif |