Prev Next
MAKEWORD info
The MAKEWORD macro creates an unsigned 16-bit integer by concatenating
two given unsigned character values.
WORD MAKEWORD(
|
BYTE bLow,
|
// low-order byte of short value
|
|
BYTE bHigh
|
// high-order byte of short value
|
|
);
|
|
Parameters
-
bLow
-
Specifies the low-order byte of the new short value.
-
bHigh
-
Specifies the high-order byte of the new short value.
Return Values
The return value is an unsigned 16-bit integer value.
Remarks
The MAKEWORD macro is defined as follows:
#define MAKEWORD(a, b) \
((WORD) (((BYTE) (a)) | ((WORD) ((BYTE) (b))) << 8))
See also:
| file: /Techref/os/win/api/win32/mac/src/mac03.htm, 1KB, , updated: 2000/4/7 12:06, local time: 2012/5/25 11:20,
|
| | ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/os/win/api/win32/mac/src/mac03.htm"> MAKEWORD</A> |
| Did you find what you needed?
|
| |
Stepper motors CAN be smooth!
And stepper controllers can be strong and cheap.
Roman Black's
Linistep
stepper controller kits:
o 18th microstep
o Linear smoothing
| |
o Open source
o Full kit $25!
|
|
| |
SX MASTERS: Eric Smith and Richard Ottosen's
SERVID
is an intellegent RS232 video terminal (4x20 character display) in one chip. See the write
up here..
|
.
|