Металл2024 Реклама
Метобр2024 Реклама

Квардратики на синем экране дисплея

wein200995
Идет загрузка
Загрузка
08.08.2018
1093
10
Вопросы и ответы
Добрый день! Подскажите, собрал эклектронику, а вот дисплей показывает квадратики на синем фоне, как это исправить. Прошивка ниже, экран вот такой. https://www.google.ru/search?q=%D1%8D%D0%BA%D1%80%D0%B0%D0%BD+%D0%B4%D0%BB%D1%8F+3%D0%B4+%D0%BF%D1%80%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%B0&newwindow=1&tbm=isch&source=iu&ictx=1&fir=6fXmRTWJS5RwrM%253A%252CaQxViEhwFqBjVM%252C_&usg=AFrqEzcMvSIgzrc7_BTJIP244QzqVhg7tA&sa=X&ved=2ahUKEwjvpcmAx93cAhUG2aQKHW9uDAkQ9QEwDXoECAUQBg#imgrc=6fXmRTWJS5RwrM: //=============================================================================

//============================= LCD and SD support ============================

//=============================================================================

// @section lcd

/**

* LCD LANGUAGE

*

* Select the language to display on the LCD. These languages are available:

*

* en, an, bg, ca, cn, cz, cz_utf8, de, el, el-gr, es, eu, fi, fr, fr_utf8, gl,

* hr, it, kana, kana_utf8, nl, pl, pt, pt_utf8, pt-br, pt-br_utf8, ru, sk_utf8,

* tr, uk, zh_CN, zh_TW, test

*

* :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cn':'Chinese', 'cz':'Czech', 'cz_utf8':'Czech (UTF8)', 'de':'German', 'el':'Greek', 'el-gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'fr_utf8':'French (UTF8)', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'kana':'Japanese', 'kana_utf8':'Japanese (UTF8)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt-br':'Portuguese (Brazilian)', 'pt-br_utf8':'Portuguese (Brazilian UTF8)', 'pt_utf8':'Portuguese (UTF8)', 'ru':'Russian', 'sk_utf8':'Slovak (UTF8)', 'tr':'Turkish', 'uk':'Ukrainian', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Taiwan)', test':'TEST' }

*/

#define LCD_LANGUAGE en

/**

* LCD Character Set

*

* Note: This option is NOT applicable to Graphical Displays.

*

* All character-based LCDs provide ASCII plus one of these

* language extensions:

*

* - JAPANESE ... the most common

* - WESTERN ... with more accented characters

* - CYRILLIC ... for the Russian language

*

* To determine the language extension installed on your controller:

*

* - Compile and upload with LCD_LANGUAGE set to 'test'

* - Click the controller to view the LCD menu

* - The LCD will display Japanese, Western, or Cyrillic text

*

* See http://marlinfw.org/docs/development/lcd_language.html

*

* :['JAPANESE', 'WESTERN', 'CYRILLIC']

*/

#define DISPLAY_CHARSET_HD44780 JAPANESE

/**

* LCD TYPE

*

* Enable ULTRA_LCD for a 16x2, 16x4, 20x2, or 20x4 character-based LCD.

* Enable DOGLCD for a 128x64 (ST7565R) Full Graphical Display.

* (These options will be enabled automatically for most displays.)

*

* IMPORTANT: The U8glib library is required for Full Graphic Display!

* https://github.com/olikraus/U8glib_Arduino

*/

//#define ULTRA_LCD // Character based

//#define DOGLCD // Full graphics display

/**

* SD CARD

*

* SD Card support is disabled by default. If your controller has an SD slot,

* you must uncomment the following option or it won't work.

*

*/

#define SDSUPPORT

/**

* SD CARD: SPI SPEED

*

* Enable one of the following items for a slower SPI transfer speed.

* This may be required to resolve 'volume init' errors.

*/

//#define SPI_SPEED SPI_HALF_SPEED

//#define SPI_SPEED SPI_QUARTER_SPEED

//#define SPI_SPEED SPI_EIGHTH_SPEED

/**

* SD CARD: ENABLE CRC

*

* Use CRC checks and retries on the SD communication.

*/

//#define SD_CHECK_AND_RETRY

//=============================================================================

//============================= LCD and SD support ============================

//=============================================================================

// @section lcd

/**

* LCD LANGUAGE

*

* Select the language to display on the LCD. These languages are available:

*

* en, an, bg, ca, cn, cz, cz_utf8, de, el, el-gr, es, eu, fi, fr, fr_utf8, gl,

* hr, it, kana, kana_utf8, nl, pl, pt, pt_utf8, pt-br, pt-br_utf8, ru, sk_utf8,

* tr, uk, zh_CN, zh_TW, test

*

* :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cn':'Chinese', 'cz':'Czech', 'cz_utf8':'Czech (UTF8)', 'de':'German', 'el':'Greek', 'el-gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'fr_utf8':'French (UTF8)', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'kana':'Japanese', 'kana_utf8':'Japanese (UTF8)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt-br':'Portuguese (Brazilian)', 'pt-br_utf8':'Portuguese (Brazilian UTF8)', 'pt_utf8':'Portuguese (UTF8)', 'ru':'Russian', 'sk_utf8':'Slovak (UTF8)', 'tr':'Turkish', 'uk':'Ukrainian', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Taiwan)', test':'TEST' }

*/

#define LCD_LANGUAGE en

/**

* LCD Character Set

*

* Note: This option is NOT applicable to Graphical Displays.

*

* All character-based LCDs provide ASCII plus one of these

* language extensions:

*

* - JAPANESE ... the most common

* - WESTERN ... with more accented characters

* - CYRILLIC ... for the Russian language

*

* To determine the language extension installed on your controller:

*

* - Compile and upload with LCD_LANGUAGE set to 'test'

* - Click the controller to view the LCD menu

* - The LCD will display Japanese, Western, or Cyrillic text

*

* See http://marlinfw.org/docs/development/lcd_language.html

*

* :['JAPANESE', 'WESTERN', 'CYRILLIC']

*/

#define DISPLAY_CHARSET_HD44780 JAPANESE

/**

* LCD TYPE

*

* Enable ULTRA_LCD for a 16x2, 16x4, 20x2, or 20x4 character-based LCD.

* Enable DOGLCD for a 128x64 (ST7565R) Full Graphical Display.

* (These options will be enabled automatically for most displays.)

*

* IMPORTANT: The U8glib library is required for Full Graphic Display!

* https://github.com/olikraus/U8glib_Arduino

*/

//#define ULTRA_LCD // Character based

//#define DOGLCD // Full graphics display

/**

* SD CARD

*

* SD Card support is disabled by default. If your controller has an SD slot,

* you must uncomment the following option or it won't work.

*

*/

#define SDSUPPORT

/**

* SD CARD: SPI SPEED

*

* Enable one of the following items for a slower SPI transfer speed.

* This may be required to resolve 'volume init' errors.

*/

//#define SPI_SPEED SPI_HALF_SPEED

//#define SPI_SPEED SPI_QUARTER_SPEED

//#define SPI_SPEED SPI_EIGHTH_SPEED

/**

* SD CARD: ENABLE CRC

*

* Use CRC checks and retries on the SD communication.

*/

//#define SD_CHECK_AND_RETRY
Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама