"""
define the command codes used in communicating with the hardware
"""
CMD_GET_CHARS = 0x00
CMD_GET_ROWS = 0x01
CMD_SEND_PAGE = 0x02
CMD_SEND_VERSION = 0x03
CMD_SEND_ERROR = 0x04
CMD_SEND_OK = 0x05
CMD_SEND_LINE = 0x06
CMD_RESET = 0x07
CMD_WARMUP = 0x08
CMD_LOWER = 0x09
CMD_SEND_BUTTONS = 0x0a
CMD_POLL = 0x0d

CMD_STATUS = 0x02
CMD_STATUS_OK = 0x00
CMD_STATUS_ERR = 0x01

POLL_FLAG_BIT_MOVING = 0
