/* Sets the register in the LCD controller to write commands to.  */
static EMSTATUS setNextReg(uint8_t reg)
/* Sets the register in the LCD controller to write commands to.  */
static EMSTATUS setNextReg(uint8_t reg)
{
  uint16_t data;
  data = reg & 0xff;
  *command_register = data;
  return DMD_OK;
}