|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| RS232.checkSum(num1, num2) |
Parameters
| INT | num1 | 8 bytes based number.
| | INT | num2 | 8 bytes based number. |
Return value
Description
Returns the checksum of two 8 bytes based numbers.
Checksums are requred by some RS232 enabled devices.
The internal formula is:
(Num1 ^ Num2) & 0x7f |
|
|
|