Updated SpiFlash library to automatically buffer and write floats and ints