thanks!
i've never userd this function "union"
by the way, the compiler say me:
../acquisition_6.c:78: error: `b' undeclared (first use in this function)
../acquisition_6.c:78: error: (Each undeclared identifier is reported only once
../acquisition_6.c:78: error: for each function it appears in.)
../acquisition_6.c:83: error: incompatible type for argument 1 of `printf'
but the code is:
--- Quote Start ---
void ParseCoeff(){
[...]
union { unsigned char b[4]; float f; } x;
if (UartHasFourByte()){
b[1] = GetUart();
b[2] = GetUart();
b[3] = GetUart();
b[4] = GetUart();
coeff = x.f;
[...]
--- Quote End ---