USB Host Shield 2.0
Macros
max_LCD.cpp File Reference
#include "max_LCD.h"
#include <string.h>
Include dependency graph for max_LCD.cpp:

Go to the source code of this file.

Macros

#define RS   0x04
 
#define E   0x08
 
#define SET_RS   lcdPins |= RS
 
#define CLR_RS   lcdPins &= ~RS
 
#define SET_E   lcdPins |= E
 
#define CLR_E   lcdPins &= ~E
 
#define SENDlcdPins()   pUsb->gpioWr( lcdPins )
 
#define LCD_sendcmd(a)
 
#define LCD_sendchar(a)
 

Macro Definition Documentation

◆ RS

#define RS   0x04

Definition at line 22 of file max_LCD.cpp.

◆ E

#define E   0x08

Definition at line 23 of file max_LCD.cpp.

◆ SET_RS

#define SET_RS   lcdPins |= RS

Definition at line 25 of file max_LCD.cpp.

◆ CLR_RS

#define CLR_RS   lcdPins &= ~RS

Definition at line 26 of file max_LCD.cpp.

◆ SET_E

#define SET_E   lcdPins |= E

Definition at line 27 of file max_LCD.cpp.

◆ CLR_E

#define CLR_E   lcdPins &= ~E

Definition at line 28 of file max_LCD.cpp.

◆ SENDlcdPins

#define SENDlcdPins ( )    pUsb->gpioWr( lcdPins )

Definition at line 30 of file max_LCD.cpp.

◆ LCD_sendcmd

#define LCD_sendcmd (   a)
Value:
{ CLR_RS; \
sendbyte(a); \
}
#define CLR_RS
Definition: max_LCD.cpp:26

Definition at line 32 of file max_LCD.cpp.

◆ LCD_sendchar

#define LCD_sendchar (   a)
Value:
{ SET_RS; \
sendbyte(a); \
}
#define SET_RS
Definition: max_LCD.cpp:25

Definition at line 36 of file max_LCD.cpp.