STRH Function
Converts a HEX string into a Pinstring
STRH(expression,length,mode)
Arguments
expression String. HEX value to be converted
length Integer. Length of the final string
mode INPUT or OUTPUT. INPUT generates 'H' and 'L'. OUTPUT generates '1' and '0'.
Remarks
Used to generate strings that can be applied to buses to set the direction and value of the pins
Example
Dim value as String
Dim Result as String
value = HEXV(85) // Hex value 0x55
Result = STRH(value,8,OUTPUT) // Result contains "01010101"