Livello Serbatoio v0.13
This project realizes a simple device to monitor the water level in a tank.
Loading...
Searching...
No Matches
LCD Constants

Variables

const int32_t LCD_COLS = 16
 Number of columns of LCD.
 
const int32_t LCD_ROWS = 2
 Number of rows of LCD.
 
const byte PROGRESS_CHAR = 1
 Index of special character used for progress bar.
 
const byte ARROW_UP_CHAR = 2
 Index of special character used for arrow up.
 
const byte ARROW_DOWN_CHAR = 3
 Index of special character used for arrow downn.
 
const int32_t LCD_CHAR_SIZE = 8
 Size of special character definition array.
 
const byte LCD_PROGRESS [LCD_CHAR_SIZE] = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F }
 Definition of special character used for progress bar.
 
const byte LCD_ARROW_DOWN [LCD_CHAR_SIZE] = { 0x00, 0x00, 0x00, 0x1F, 0x0E, 0x04, 0x00, 0x00 }
 Definition of special character used for arrow down.
 
const byte LCD_ARROW_UP [LCD_CHAR_SIZE] = { 0x00, 0x00, 0x04, 0x0E, 0x1F, 0x00, 0x00, 0x00 }
 Definition of special character used for arrow up.
 
const int16_t RS = 3
 LCD's RS digital pin.
 
const int16_t E = 4
 LCD's E digital pin.
 
const int16_t DB4 = 5
 LCD's DB4 digital pin.
 
const int16_t DB5 = 6
 LCD's DB5 digital pin.
 
const int16_t DB6 = 7
 LCD's DB6 digital pin.
 
const int16_t DB7 = 8
 LCD's DB7 digital pin.
 

Detailed Description

Constants related to the LCD.

Variable Documentation

◆ ARROW_DOWN_CHAR

const byte ARROW_DOWN_CHAR = 3

Index of special character used for arrow downn.

◆ ARROW_UP_CHAR

const byte ARROW_UP_CHAR = 2

Index of special character used for arrow up.

◆ DB4

const int16_t DB4 = 5

LCD's DB4 digital pin.

◆ DB5

const int16_t DB5 = 6

LCD's DB5 digital pin.

◆ DB6

const int16_t DB6 = 7

LCD's DB6 digital pin.

◆ DB7

const int16_t DB7 = 8

LCD's DB7 digital pin.

◆ E

const int16_t E = 4

LCD's E digital pin.

◆ LCD_ARROW_DOWN

const byte LCD_ARROW_DOWN[LCD_CHAR_SIZE] = { 0x00, 0x00, 0x00, 0x1F, 0x0E, 0x04, 0x00, 0x00 }

Definition of special character used for arrow down.

◆ LCD_ARROW_UP

const byte LCD_ARROW_UP[LCD_CHAR_SIZE] = { 0x00, 0x00, 0x04, 0x0E, 0x1F, 0x00, 0x00, 0x00 }

Definition of special character used for arrow up.

◆ LCD_CHAR_SIZE

const int32_t LCD_CHAR_SIZE = 8

Size of special character definition array.

◆ LCD_COLS

const int32_t LCD_COLS = 16

Number of columns of LCD.

◆ LCD_PROGRESS

const byte LCD_PROGRESS[LCD_CHAR_SIZE] = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F }

Definition of special character used for progress bar.

◆ LCD_ROWS

const int32_t LCD_ROWS = 2

Number of rows of LCD.

◆ PROGRESS_CHAR

const byte PROGRESS_CHAR = 1

Index of special character used for progress bar.

◆ RS

const int16_t RS = 3

LCD's RS digital pin.