WriteToPort (SendScalePointer, 9);
//Expecting 1 byte back (give the unit 5 seconds to respond):
//0xFF = success
//0xE0 = parameter failure (invalid value)
//0xEE =
{
return FAILURE;
}
else
{
if ( *ResponseBytes != 0xFF )
{
return FAILURE;
}
else
{
return SUCCESS;
}
}
} /* SetSPAScale */
110 | Site Master PM |