I'm back to try and resolve this. I can not assign each temp sensor (6 of them) a different pin as the motherboard is already produced, I am just trying to improve things a little. So all I need to figure out is how to get an array into the select case:
I have tried:
Code:
SELECT CASE sensor
    CASE 1 :LOOKUP hexbyte,[STR sensor1\8], col
but that does not work

In my orginal code I have:
Code:
Select Case sensor
        Case 1 :LOOKUP hexbyte,[$28,$1E,$F5,$24,$03,$00,$00,$B8], col
Lets say the array sensor1\8 is $28,$1E,$F5,$24,$03,$00,$00,$B8
Hope this makes sense.