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:
but that does not workCode:SELECT CASE sensor CASE 1 :LOOKUP hexbyte,[STR sensor1\8], col
In my orginal code I have:
Lets say the array sensor1\8 is $28,$1E,$F5,$24,$03,$00,$00,$B8Code:Select Case sensor Case 1 :LOOKUP hexbyte,[$28,$1E,$F5,$24,$03,$00,$00,$B8], col
Hope this makes sense.




Bookmarks