25#define SET_RS lcdPins |= RS
26#define CLR_RS lcdPins &= ~RS
27#define SET_E lcdPins |= E
28#define CLR_E lcdPins &= ~E
30#define SENDlcdPins() pUsb->gpioWr( lcdPins )
32#define LCD_sendcmd(a) { CLR_RS; \
36#define LCD_sendchar(a) { SET_RS; \
126 if(
row > _numlines) {
136 _displaycontrol &= ~LCD_DISPLAYON;
148 _displaycontrol &= ~LCD_CURSORON;
161 _displaycontrol &= ~LCD_BLINKON;
190 _displaymode &= ~LCD_ENTRYLEFT;
204 _displaymode &= ~LCD_ENTRYSHIFTINCREMENT;
214 for(
int i = 0;
i < 8;
i++) {
226#if defined(ARDUINO) && ARDUINO >=100
239void Max_LCD::sendbyte(
uint8_t val) {
241 lcdPins |= (val & 0xf0);
249 lcdPins |= (val << 4) & 0xf0;
void createChar(uint8_t, uint8_t[])
void setCursor(uint8_t, uint8_t)
void begin(uint8_t cols, uint8_t rows, uint8_t charsize=LCD_5x8DOTS)
void scrollDisplayRight()
#define LCD_ENTRYSHIFTDECREMENT
#define LCD_ENTRYSHIFTINCREMENT
#define LCD_DISPLAYCONTROL