Hi
I need to send an OP code (1 byte) followed by a data field of 32 bytes over SPI.
My first thought was to make it all into an array and have a for loop send each byte after the other.
My question is, with all you bright minds out there, is there a simpler way?
byte lblArr[] = {0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
Im looking to set the bits corresponding to label 0xD0 (208th bit from last) and 0xB9 (185th bit)
Is there a way to make the for loop insert "1" instead of "0"at specific bits?
Attached the datasheet page showing the OP codes and setup.

