23RpiLCD::RpiLCD(
int rows,
int cols,
int bits,
int rs,
int strb,
int d0,
int d1,
int d2,
int d3,
int d4,
int d5,
int d6,
int d7) :
36 mLcdHandle = lcdInit(rows, cols, bits, mRs, mStrb, mD0, mD1, mD2, mD3, mD4, mD5, mD6, mD7);
45 lcdDisplay(mLcdHandle, 0);
47 digitalWrite(mStrb, 0);
73void RpiLCD::DisplayState(
int state)
76 lcdDisplay(mLcdHandle, state);
80void RpiLCD::CursorState(
int state)
83 lcdCursor(mLcdHandle, state);
87void RpiLCD::CursorBlink(
int state)
90 lcdCursorBlink(mLcdHandle, state);
94void RpiLCD::SetPosition(
int x,
int y)
97 lcdPosition(mLcdHandle, x, y);
101void RpiLCD::Puts(std::string text)
104 lcdPuts(mLcdHandle, text.c_str());