Hello,
I would like to save a floating point number to flash, but I don't want to type cast it to uint32_t because it would floor off the number to an integer. Is there a good way to do this. Right now I am just ignoring the warning it throws when I use a float when it requests a unsigned int:
Here is the call in my code:
float32_t g_nco_I[1];
uint32_t gp_nco_I;
FlashProgram(g_nco_I, gp_nco_I,4);
Here is the warning:
#169-D
argument of type "float32_t *" is incompatible with parameter of type "uint32_t *"
I appreciate any advice.
Regards,
Curtis