Event Instruction C6
Alters a variable's value when it is too small or too great so that it fits within a given range.
Variable : Byte (hex)
ID of the Variable which will be written to.
Warning: Only x00-x7F (words) are valid with this instruction!
Parameters : Byte (hex)
- x01: No minimum value
- x02: No maximum value
Minimum Value : Half-word (unsigned)
If the value is smaller than this number, is will be set to this value. Includes negative numbers.
Maximum Value : Half-word (unsigned)
If the value is greater than this number, it will be set to this value.