Single precision floating point conversion converter decoder makes it readable
Diff: SP_FP.h
- Revision:
- 0:f99d1aa55201
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SP_FP.h Tue Jan 20 14:45:08 2015 +0000 @@ -0,0 +1,15 @@ +#ifndef SP_FP_H +#define SP_FP_H +#include "mbed.h" + +class SP_FP { +public: + SP_FP(); + float decoder(uint32_t VALUE); + +private: + float result; + uint32_t value_Temp; // Needed because of bitwise operations +}; + +#endif \ No newline at end of file