I welcome myself to my first visit to the form - hope it will justify my expectations.
Here is my first question.
I declare a float array (takes 4 bytes, 32 bits).
Most of my array is filled with float numbers which is fine.
I wish to fill some cells with several addressable bytes each.
I have tried (example):
array[x] = byte << 16; which works OK, but overwrites other bytes.
array[x] |= byte << 16; Get lvalue error.
tried (uint32) array[x] |= byte << 16; Get lvalue error.
I realize the array is a pointer, so I tried even dereferencing it (&), but for no avail.
What is the right way to load separate bytes into a floating point array cell, and be able to read them back one by one?