Configtool: learn about DISPLAY_TYPE_HD44780.
This replaces DISPLAY_TYPE_LCD1302, because LCD1302 has no actual implementation, yet.
This commit is contained in:
parent
692fab68b9
commit
0947c5ba50
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(fan, DIO8, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(fan, DIO8, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -292,7 +292,7 @@ DEFINE_HEATER(extruder, AIO2, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -301,4 +301,4 @@ DEFINE_HEATER(extruder, AIO2, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,7 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, AIO0, 0)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -293,4 +293,4 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, AIO0, 0)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ DEFINE_HEATER(extruder, DIO6, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -296,4 +296,4 @@ DEFINE_HEATER(extruder, DIO6, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,7 @@ DEFINE_HEATER(bed, PIO1_9, 1, 10)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -311,4 +311,4 @@ DEFINE_HEATER(bed, PIO1_9, 1, 10)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,7 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -307,4 +307,4 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -299,7 +299,7 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -308,4 +308,4 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ DEFINE_HEATER(fan, DIO4, 0, 0)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -309,4 +309,4 @@ DEFINE_HEATER(fan, DIO4, 0, 0)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
#define DISPLAY_BUS_I2C
|
#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(bed, DIO3, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
#define DISPLAY_TYPE_SSD1306
|
#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ DEFINE_HEATER(fan, DIO9, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -306,4 +306,4 @@ DEFINE_HEATER(fan, DIO9, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,7 @@ DEFINE_HEATER(fan, DIO9, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -311,4 +311,4 @@ DEFINE_HEATER(fan, DIO9, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,7 @@ DEFINE_HEATER(fan, DIO8, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -309,4 +309,4 @@ DEFINE_HEATER(fan, DIO8, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(bed, DIO14, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(bed, DIO14, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(bed, DIO13, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(bed, DIO13, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(bed, DIO4, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(bed, DIO4, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -299,7 +299,7 @@ DEFINE_HEATER(fan, DIO5, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -308,4 +308,4 @@ DEFINE_HEATER(fan, DIO5, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(fan, DIO16, 0, 0)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(fan, DIO16, 0, 0)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ DEFINE_HEATER(fan, DIO8, 0, 0)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -305,4 +305,4 @@ DEFINE_HEATER(fan, DIO8, 0, 0)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,7 @@ DEFINE_HEATER(fan, DIO4, 0, 1)
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -307,4 +307,4 @@ DEFINE_HEATER(fan, DIO4, 0, 1)
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,7 @@
|
||||||
#define DISPLAY_BUS_I2C
|
#define DISPLAY_BUS_I2C
|
||||||
#define DISPLAY_BUS_SPI
|
#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -293,4 +293,4 @@
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
#define DISPLAY_TYPE_SSD1306
|
#define DISPLAY_TYPE_SSD1306
|
||||||
#define DISPLAY_TYPE_LCD1302
|
#define DISPLAY_TYPE_HD44780
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ class DisplayPage(wx.Panel, Page):
|
||||||
'DISPLAY_BUS_8BIT': "Direct with 8 pins",
|
'DISPLAY_BUS_8BIT': "Direct with 8 pins",
|
||||||
'DISPLAY_BUS_I2C': "I²C ( = TWI)",
|
'DISPLAY_BUS_I2C': "I²C ( = TWI)",
|
||||||
'DISPLAY_BUS_SPI': "SPI",
|
'DISPLAY_BUS_SPI': "SPI",
|
||||||
'DISPLAY_TYPE_SSD1306': "SSD1306 O-LED, 128x32",
|
'DISPLAY_TYPE_SSD1306': "SSD1306 O-LED, 128x32 pixels",
|
||||||
'DISPLAY_TYPE_LCD1302': "LCD 1302"}
|
'DISPLAY_TYPE_HD44780': "HD44780 or 1602A, 16x2 characters"}
|
||||||
|
|
||||||
sz = wx.GridBagSizer()
|
sz = wx.GridBagSizer()
|
||||||
sz.AddSpacer((20, 40), pos = (0, 0))
|
sz.AddSpacer((20, 40), pos = (0, 0))
|
||||||
|
|
@ -29,7 +29,7 @@ class DisplayPage(wx.Panel, Page):
|
||||||
sz.AddSpacer((100, 10), pos = (1, 2))
|
sz.AddSpacer((100, 10), pos = (1, 2))
|
||||||
|
|
||||||
ch = self.addBoolChoice('DISPLAY_TYPE', False, 100, self.onChoice,
|
ch = self.addBoolChoice('DISPLAY_TYPE', False, 100, self.onChoice,
|
||||||
size = (200, -1))
|
size = (240, -1))
|
||||||
sz.Add(ch, pos = (1, 3))
|
sz.Add(ch, pos = (1, 3))
|
||||||
|
|
||||||
self.SetSizer(sz)
|
self.SetSizer(sz)
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,9 @@
|
||||||
|
|
||||||
#define DISPLAY
|
#define DISPLAY
|
||||||
|
|
||||||
#elif defined DISPLAY_TYPE_LCD1302
|
#else
|
||||||
|
|
||||||
#error Display type LCD1302 not yet supported.
|
#error Display type not yet supported.
|
||||||
|
|
||||||
#endif /* DISPLAY_TYPE_... */
|
#endif /* DISPLAY_TYPE_... */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -687,7 +687,7 @@ PWM value for 'off'
|
||||||
//#define DISPLAY_BUS_I2C
|
//#define DISPLAY_BUS_I2C
|
||||||
//#define DISPLAY_BUS_SPI
|
//#define DISPLAY_BUS_SPI
|
||||||
|
|
||||||
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_LCD1302
|
/** \def DISPLAY_TYPE_SSD1306 DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
The type of display in use. There can be only one choice. Taken into account
|
The type of display in use. There can be only one choice. Taken into account
|
||||||
only if one of DISPLAY_BUS_xxx is defined.
|
only if one of DISPLAY_BUS_xxx is defined.
|
||||||
|
|
@ -696,7 +696,7 @@ PWM value for 'off'
|
||||||
display, comment out all of DISPLAY_BUS_xxx.
|
display, comment out all of DISPLAY_BUS_xxx.
|
||||||
*/
|
*/
|
||||||
//#define DISPLAY_TYPE_SSD1306
|
//#define DISPLAY_TYPE_SSD1306
|
||||||
//#define DISPLAY_TYPE_LCD1302
|
//#define DISPLAY_TYPE_HD44780
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue