First of all thank you for your really quick help!
Slowly but constantly I get behind the code ![]()
But the index needs to be variable. Maybe you could make it variable by replacing the used bytes with variables/arrays which use also bytes for the wanted index (means for index 2 0b00011111 and 0b11100000) but it's not the most elegant solution. ![]()