void LcdString(char *characters)
{
    while (*characters)
    {
        LcdCharacter(*characters++);
    }
}
Example #2
0
//
// Print an uint16_t as a string with 0-padding
// If type==0 regular font, type==1 tiny digit font
//
void LcdPrintUint16(uint16_t value, uint8_t type) {
  static uint16_t powers[]={10,100,1000,10000,100000,1000000,10000000,100000000,1000000000};
  uint16_t power; 
  char digit;
  char i;

  for (i=4; i>=0; i--) {
    digit='0';
    power=powers[i];
    while (value >= power) {
      value -= power;
      digit++;
    }
    if (type) LcdTinyDigit(digit); else LcdCharacter(digit);
  }
  value+='0';
  if (type) LcdTinyDigit(value); else LcdCharacter(value);
}
Example #3
0
void LcdString(char *characters, bool negate) {
  while (*characters)  {
    LcdCharacter(*characters++, negate);
  }
}
Example #4
0
// send a string of characters to the LCD
void LcdString(unsigned char *characters) {
  while (*characters) {
    LcdCharacter(*characters++);
  }
}
Example #5
0
//
// Print a null-terminated string on the display
//
void LcdString(char *string){
  while (*string) {
    LcdCharacter(*string++);
  }
}