Hi,
Try
Code:
IF TEMP[CNT] < 100 then PORTB.0(CNT) = 0
For more info see Melanies excellent write up and the follow up discussions.

/Henrik.