title: C Converting float to int array
body: <p>I'm trying to convert a 'float' variable to an integer array as I'm going to send it over an I2C bus and I2C only allows me to do 1 byte transactions at a time. I'm thinking of making an integer array of size 4 (1 byte at a index per transaction). </p>
  
  <p>I'm aware this can simply be done if we want to convert 'float' to 'string' using memcpy() but I want to convert my 'float' variable directly to an int array, then send my array to do operations 1 byte at a time. I'd appreciate any help! Thank you in advance.</p>