I don't have much experience with the lookup command and I don't understand what the manual states. I will post the code here and someone let me know if I can clean it up please.
B1=8
B2=6
B3=11
B4=15
'I NEED TO TAKE THESE INTO BINARY, BUT I CAN'T FIGURE OUT HOW TO DO IT. WITHIN B1, I NEED R1, R2, R3 AND R4 TO EQUAL THE BINARY OF B1, LIKE THIS
'THE OUTPUT OF B1 LOOKS LIKE THIS:
R1=0
R2=0
R3=0
R4=0
'THE OUTPUT OF B2 LOOKS LIKE THIS:
R5=0
R6=1
R7=1
R8=0
'AND SO ON BUT THE PROBLEM IS THAT I HAVE TO SCAN 16 DIFFERENT SIGNALS AND IF THERE WAS A WAY TO SAY SOMETHING LIKE
B1,B2,B3,B4=R1 THAT WOULD BE GREAT. SO, R1 EQUALS 8 AND B1=0, B2=0, B3=0 AND B4=1. IS THIS POSSIBLE?
'I HAVE TO WRITE MY CODE LIKE THIS
IF B1=1 THEN
Bookmarks