4 #include <util/delay.h>
135 UINT exp=0, sMask = 0, vMask = 0;
154 if((val & sMask) == sMask)
156 val = vMask - val + 1;
172 for(i=0; i<numLen; ++i)
179 digits[i] = (val / exp);
180 val -= (digits[i] * exp);
186 else if(i == VALUE_LENGTH - 1)
void LCDstring(uint8_t *data)
void WriteSetupValue(SETUP_ITEM *si, UCHAR allow, UCHAR id)
put a setup item on screen, which consist of a name and a value spread over two lines ...
void Welcome(void)
put startup info on screen
void WriteValue(MEASVAL *mv)
write the payload value itself onto lcd while considering the data type
void LcdInit(void)
display initialization Alphanumeric LCD initialization Connections are specified in the Project|Confi...
void ntofa(UINT val, UCHAR *buf, DATTYPE dt)
convert integer value to fixed decimal point string buffer must have at least a size of 8 bytes alloc...
void WriteCtrlMode(UCHAR name, UCHAR *cmName)
void WriteSetupGroup(UCHAR grp)
void WriteMeasVal(MEASVAL *mv)
put a measurement value on lcd source value is being output as fixed decimal point number ...
void LCDsendChar(uint8_t ch)
void LCDGotoXY(uint8_t x, uint8_t y)