Livello Serbatoio v0.13
This project realizes a simple device to monitor the water level in a tank.
|
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. | |
Constants related to the LCD.
const byte ARROW_DOWN_CHAR = 3 |
Index of special character used for arrow downn.
const byte ARROW_UP_CHAR = 2 |
Index of special character used for arrow up.
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.
const int16_t E = 4 |
LCD's E digital pin.
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 int32_t LCD_CHAR_SIZE = 8 |
Size of special character definition array.
const int32_t LCD_COLS = 16 |
Number of columns of LCD.
const byte LCD_PROGRESS[LCD_CHAR_SIZE] = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F } |
Definition of special character used for progress bar.
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 int16_t RS = 3 |
LCD's RS digital pin.