-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lcd auto discovery do not work in a full station configuration
- Loading branch information
Showing
2 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
platformio/stima_v3/sensor_config_menu_sdcard/include/lcd_config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/**@file lcd_config.h */ | ||
|
||
/********************************************************************* | ||
Copyright (C) 2017 Marco Baldinetti <m.baldinetti@digiteco.it> | ||
authors: | ||
Paolo Patruno <p.patruno@iperbole.bologna.it> | ||
Marco Baldinetti <m.baldinetti@digiteco.it> | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License as | ||
published by the Free Software Foundation; either version 2 of | ||
the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
**********************************************************************/ | ||
|
||
#ifndef _LCD_CONFIG_H | ||
#define _LCD_CONFIG_H | ||
|
||
/*! | ||
\def LCD_I2C_ADDRESS | ||
\brief LCD i2c address. | ||
*/ | ||
#define LCD_I2C_ADDRESS (0x3F) | ||
|
||
/*! | ||
\def LCD_I2C_SECONDARY_ADDRESS | ||
\brief Try this I2C address for LCD if LCD_I2C_ADDRESS fail. | ||
*/ | ||
#define LCD_I2C_SECONDARY_ADDRESS (0x27) | ||
|
||
/*! | ||
\def LCD_COLUMNS | ||
\brief Default LCD columns number. | ||
*/ | ||
#define LCD_COLUMNS (20) | ||
|
||
/*! | ||
\def LCD_ROWS | ||
\brief Default LCD rows number. | ||
*/ | ||
#define LCD_ROWS (4) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters