Hi,
I'm READing a compass on an 18F4431, which needs to be TXed to an 18LF4620, which then will be PARSED.
There is a calculation, so a SINGLE is used as a variable for 'DEG'
The PARSE routine expects a $sentence with a known length, how can I get an output with no digits after the decimal point and be always 3x digits e,g, '001'
Cheers, Camerart
I'm READing a compass on an 18F4431, which needs to be TXed to an 18LF4620, which then will be PARSED.
There is a calculation, so a SINGLE is used as a variable for 'DEG'
The PARSE routine expects a $sentence with a known length, how can I get an output with no digits after the decimal point and be always 3x digits e,g, '001'
Cheers, Camerart