{"id":211,"date":"2017-11-22T23:52:43","date_gmt":"2017-11-22T22:52:43","guid":{"rendered":"http:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=211"},"modified":"2023-03-04T17:13:25","modified_gmt":"2023-03-04T16:13:25","slug":"06-lcd_st7783-library-stm32f4","status":"publish","type":"page","link":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=211","title":{"rendered":"06-LCD_ST7783-Library (STM32F4)"},"content":{"rendered":"<p><div id=\"nav-below\" class=\"navigation\"><div class=\"nav-previous\"><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=209\" title=\"05-ADC-Single-Conversation (STM32F4)\"><span class=\"meta-nav\">\u2190<\/span> 05-ADC-Single-Conversation (STM32F4)<\/a><\/div><\/div><!-- #nav-below --><div id=\"nav-below\" class=\"navigation\"><div class=\"nav-next\"><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=213\" title=\"07-LCD_Graphic-Library (STM32F4)\">07-LCD_Graphic-Library (STM32F4) <span class=\"meta-nav\">&rarr;<\/span><\/a><\/div><\/div><!-- #nav-below --><\/p>\n<p>-diese Library dient zum ansteuern eines Grafik LC-Displays mit einem ST7783-Chip.<br \/>\n(240 x 320 Pixel und 16bit Farbe)<\/p>\n<p>-das Display wird \u00fcber den External-Memory-Contoller \u201cFSMC\u201d verwaltet und muss dementsprechend mit der CPU verbunden werden (siehe Pinbelegung in der Library)<\/p>\n<p>-die Library bedient die Grundfunktionen wie Initialisierung, Screen-Ausrichtung, Hintergrundbeleuchtung, setzen vom Cursor und l\u00f6schen vom Bildschirm.<\/p>\n<p>-f\u00fcr die Grafik-Funktionen (Linen, Kreise, Bilder) gibt es eine Graphic-Library<br \/>\n-f\u00fcr Textausgabe gibt es eine Font-Library<\/p>\n<p>Geschwindigkeit : ein \u201cClearScreen\u201d mit einer Farbe dauert ca. 9ms<\/p>\n<p><strong>Backlight :<\/strong> (Hinweis)<\/p>\n<p>Das CPU-Signal \u201cLCD_Backlight\u201d kann (und darf) nicht direkt an die LEDs der Hintergrundbeleuchtung angeschlossen werden !! Es muss ein PNP-Transistor dazwischengeschaltet werden (siehe Bild). [PB0 = LED_EN]<\/p>\n<p><a href=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/06\/backlight.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1820\" src=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/06\/backlight-300x237.jpg\" alt=\"backlight\" width=\"300\" height=\"237\" \/><\/a><\/p>\n<p><strong>16bit 8080-Parallel-Mode :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">IM0 = Lo\r\nIM1 = Hi\r\nIM2 = Lo\r\nIM3 = Lo<\/pre>\n<p><strong>Beispielbild (per Graphic-LIB) :<\/strong><\/p>\n<p><a href=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/03\/lcd.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-634\" src=\"http:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2013\/03\/lcd-179x300.jpg\" alt=\"lcd\" width=\"179\" height=\"300\" \/><\/a><\/p>\n<p><strong>Benutzte Pins :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">PB0  -&gt; LCD_Backlight      PE3  -&gt; LCD_RS\r\nPD0  -&gt; LCD_D2             PE7  -&gt; LCD_D4\r\nPD1  -&gt; LCD_D3             PE8  -&gt; LCD_D5\r\nPD4  -&gt; LCD_RD             PE9  -&gt; LCD_D6\r\nPD5  -&gt; LCD_WR             PE10 -&gt; LCD_D7\r\nPD7  -&gt; LCD_CS             PE11 -&gt; LCD_D8\r\nPD8  -&gt; LCD_D13            PE12 -&gt; LCD_D9\r\nPD9  -&gt; LCD_D14            PE13 -&gt; LCD_D10\r\nPD10 -&gt; LCD_D15            PE14 -&gt; LCD_D11\r\nPD14 -&gt; LCD_D0             PE15 -&gt; LCD_D12\r\nPD15 -&gt; LCD_D1<\/pre>\n<p><strong><strong>Voraussetzungen :<\/strong><\/strong><\/p>\n<pre lang=\"c\" line=\"1\">Benutzte Module der CooCox-IDE : GPIO,FSMC\r\nBenutzte Librarys : keine<\/pre>\n<p><strong>Standard Farben :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">#define  RGB_COL_BLACK          0x0000\r\n#define  RGB_COL_BLUE           0x001F\r\n#define  RGB_COL_GREEN          0x07E0\r\n#define  RGB_COL_RED            0xF800\r\n#define  RGB_COL_WHITE          0xFFFF\r\n\r\n#define  RGB_COL_CYAN           0x07FF\r\n#define  RGB_COL_MAGENTA        0xF81F\r\n#define  RGB_COL_YELLOW         0xFFE0\r\n\r\n#define  RGB_COL_GREY           0xF7DE<\/pre>\n<p><strong>Funktionen :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">ErrorStatus UB_LCD_Init(void);                             \/\/ init vom LCD\r\nvoid UB_LCD_SetCursor2Draw(uint16_t xpos, uint16_t ypos);  \/\/ setzt den Cursor zum zeichnen\r\nvoid UB_LCD_FillScreen(uint16_t color);                    \/\/ f\u00fcllt den Screen mit einer Farbe\r\nvoid UB_LCD_Backlight_On(void);                            \/\/ Backlight einschalten\r\nvoid UB_LCD_Backlight_Off(void);                           \/\/ Backlight ausschalten\r\nvoid UB_LCD_SetMode(LCD_MODE_t mode);                      \/\/ Modus : Portrait,Landscape\r\nvoid UB_LCD_SetWindow(uint16_t xstart, uint16_t ystart, uint16_t xend, uint16_t yend); \/\/ setzt ein Window zum zeichnen<\/pre>\n<p><strong>Beispiel :<\/strong><\/p>\n<pre lang=\"c\" line=\"1\">\/\/--------------------------------------------------------------\r\n\/\/ File     : main.c\r\n\/\/ Datum    : 18.02.2013\r\n\/\/ Version  : 1.1\r\n\/\/ Autor    : UB\r\n\/\/ EMail    : mc-4u(@)t-online.de\r\n\/\/ Web      : www.mikrocontroller-4u.de\r\n\/\/ CPU      : STM32F4\r\n\/\/ IDE      : CooCox CoIDE 1.7.0\r\n\/\/ Module   : CMSIS_BOOT, M4_CMSIS_CORE\r\n\/\/ Funktion : Demo der LCD-Library (ST7783)\r\n\/\/ Hinweis  : Diese zwei Files muessen auf 8MHz stehen\r\n\/\/              \"cmsis_boot\/stm32f4xx.h\"\r\n\/\/              \"cmsis_boot\/system_stm32f4xx.c\"\r\n\/\/--------------------------------------------------------------\r\n\r\n#include \"main.h\"\r\n#include \"stm32_ub_lcd_st7783.h\"\r\n\r\nint main(void)\r\n{\r\n  uint32_t n;\r\n\r\n  SystemInit(); \/\/ Quarz Einstellungen aktivieren\r\n\r\n  UB_LCD_Init(); \/\/ Init vom LCD\r\n\r\n  \/\/ Display mit einer Farbe loeschen\r\n  UB_LCD_FillScreen(RGB_COL_BLUE);\r\n\r\n  \/\/ Cursor setzen\r\n  UB_LCD_SetCursor2Draw(10,50);\r\n  \/\/ einen roten Strich zeichnen\r\n  for(n=0;n&lt;100;n++) {\r\n    LCD_RAM=RGB_COL_RED;\r\n  }\r\n\r\n  while(1)\r\n  {\r\n\r\n  }\r\n}\r\n<\/pre>\n<p>Hier die Library zum\u00a0<strong>Download :<\/strong><\/p>\n<p><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2014\/02\/ub_stm32f4_lcd_st7783_v106.zip\">ub_stm32f4_lcd_st7783_v106<\/a><\/p>\n<p>Hier der komplette CooCox-Projektordner zum\u00a0<strong>Download :<\/strong><\/p>\n<p><a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/wp-content\/uploads\/2014\/02\/Demo_06_LCD1.zip\">Demo_06_LCD1<\/a><\/p>\n<h3 id=\"comments-title\">15 Antworten auf <em>06-LCD_ST7783-Library (STM32F4)<\/em><\/h3>\n<ol class=\"commentlist\">\n<li id=\"li-comment-25\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-25\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/7679f93c1ed04581ae6e6f84acf987ad?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Hans<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">6. April 2013 um 15:12<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Woher bekommt man ein Display mit einem ST7783 Controller?<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-26\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-26\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">7. April 2013 um 09:38<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Meines war bei dem Motherboard von EBay dabei\u2026aber es funktioniert auch ein Display mit SSD1289-Controller (den gibt es h\u00e4ufiger). Man muss dann nur die Initialisierung anpassen. (da hab ich ein Beispiel hier)<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-31\" class=\"comment even thread-odd thread-alt depth-1\">\n<div id=\"comment-31\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/7679f93c1ed04581ae6e6f84acf987ad?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Hans<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">8. April 2013 um 18:58<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Ja ein SSD1289 Display habe ich hier. K\u00f6nntest du mir die Initialisierung daf\u00fcr zur Verf\u00fcgung stellen?<br \/>\nW\u00e4re sehr nett.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-32\" class=\"comment byuser comment-author-admin_ub bypostauthor odd alt depth-2\">\n<div id=\"comment-32\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">8. April 2013 um 20:32<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>ok, geb mir etwas zeit\u2026ich melde mich per Email wieder.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-34\" class=\"comment byuser comment-author-admin_ub bypostauthor even depth-2\">\n<div id=\"comment-34\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">9. April 2013 um 19:12<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>du hast post\u2026.sag bescheid ob die LIB geht oder nicht<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-35\" class=\"comment odd alt thread-even depth-1\">\n<div id=\"comment-35\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/7ff982776c4f9f5ae4075248a3056b2e?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Andreas<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">10. April 2013 um 00:12<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Ich w\u00fcrde mich auch f\u00fcr die LIB f\u00fcr das SSD1289 interessieren. W\u00e4re super, wenn es funktioniert und du mir dann die LIB zukommen lassen k\u00f6nntest.<\/p>\n<p>Vielen herzlichen Dank schon mal im voraus!<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-37\" class=\"comment byuser comment-author-admin_ub bypostauthor even depth-2\">\n<div id=\"comment-37\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">10. April 2013 um 18:23<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hi, auf der Startseite im Blog gibt es die Version 1.0 zum download. Damit kannst du (und alle die wollen) testen.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-46\" class=\"comment odd alt thread-odd thread-alt depth-1\">\n<div id=\"comment-46\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/238f02ab6776537fcbc5881b06fa6cea?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\"><a class=\"url\" href=\"http:\/\/n\/a\" rel=\"external nofollow\">Marco Fritsch<\/a><\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">14. April 2013 um 13:58<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hi,<\/p>\n<p>erstmal respekt f\u00fcr Deine Arbeit, danke. Die libs haben mir ein paar Tage Einarbeitung gespart. Ich habe mir die stm32F3 und stm32F4 \u2013 Discovery Boards zugelegt.<br \/>\nMeine Frage; deine ST7783-Library nutzt den FSM-Controller, u.a den Pin PE3 als LCD_RS (FSMC_A19). PE3 ist auf dem F4-Board auch als Chipselect f\u00fcr den LIS302 angeschlossen. Gibs da Probleme im Bertrieb wenn ich ich beides nutze, LCD und LIS302? Ich \u201cstricke\u201d auf basis deiner Grafik-Lib eine HX8347D-Lib zusammen.<\/p>\n<p>Gru\u00df<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-49\" class=\"comment byuser comment-author-admin_ub bypostauthor even depth-2\">\n<div id=\"comment-49\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">15. April 2013 um 18:15<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hi Marco,<br \/>\nIch kann das Display und den LIS302 gleichzeitig benutzen, aber nur wenn ich nicht den DMA benutze, sondern einzeln darauf zugreife. Beim Discovery-Board muss man halt einige abstriche machen. Sauber w\u00e4re nat\u00fcrlich wenn die Signale getrennt w\u00e4ren.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-50\" class=\"comment odd alt depth-3\">\n<div id=\"comment-50\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/238f02ab6776537fcbc5881b06fa6cea?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\"><a class=\"url\" href=\"http:\/\/n\/a\" rel=\"external nofollow\">Marco Fritsch<\/a><\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">16. April 2013 um 00:06<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Danke f\u00fcr die Antwort, dann muss wohl ein anderes Board her.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-1479\" class=\"comment even thread-even depth-1\">\n<div id=\"comment-1479\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/3e9b135df92d6bc313ba11f5cbe28c92?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Guido<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">19. M\u00e4rz 2014 um 21:41<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Erst mal RESPEKT f\u00fcr Deine Arbeit! Dank Dir trau ich mich jetzt wohl mal an den STM32F4 ran <img decoding=\"async\" class=\"wp-smiley\" src=\"wp-includes\/images\/smilies\/icon_smile.gif\" alt=\":)\" \/><\/p>\n<p>Kann es sein, das es zu dem Discovery Board die unterschiedlichsten LC Displays gibt? Ich hab hier n\u00e4mlich ein mit einem SSD2119 Controller und suche dementsprechend daf\u00fcr die Libs. Da hast Du nicht zuf\u00e4llig was f\u00fcr?<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<li id=\"li-comment-1480\" class=\"comment odd alt thread-odd thread-alt depth-1\">\n<div id=\"comment-1480\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/3e9b135df92d6bc313ba11f5cbe28c92?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Guido<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">20. M\u00e4rz 2014 um 12:16<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Kleiner Nachtrag: Habe nun nach ein paar \u201cSpielereien\u201d ein zu 1\/4 initialisiertes Display mit rotem Hintergrund und einer blauen Linie \u2013 Farben also genau falschherum <img decoding=\"async\" class=\"wp-smiley\" src=\"wp-includes\/images\/smilies\/icon_smile.gif\" alt=\":)\" \/> Also grunds\u00e4tzlich funktioniert da irgendwas, nur die Register sind wohl leicht anders vom SSD2119.<\/p>\n<p>Ich musste auch (und ich bin blutiger Anf\u00e4nger mit dem STM32 \u2013 umsteiger vom Atmel) zwecks Test den Pin PB0 (Backlight f\u00fcr SSD2189) mal f\u00fcr den Reset Pin missbrauchen, damit sich das Display \u00fcberhaupt r\u00fchrt.<\/p>\n<p>Pinbelegung vom DM-LCD35RT (Farnell \/ ST) ist soweit identisch wie die vom anderem Display. Allerdings liegt auf PD13 die PWM Hintergrundbeleuchtung und an PD3 halt RESET.<\/p>\n<p>Nun wed ich mal die Register studieren und schauen, wo da der Wurm drin ist. Aber echt sch\u00f6n das es die Seite hier gibt und schon nach weniger als 8 Stunden das Display zappelt \u2013 DANKE!<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-1481\" class=\"comment byuser comment-author-admin_ub bypostauthor even depth-2\">\n<div id=\"comment-1481\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">20. M\u00e4rz 2014 um 21:09<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>da muss es ein Register geben in dem \u201cBGR\u201d auf \u201cRGB\u201d umgestellt werden kann.<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<li id=\"li-comment-2430\" class=\"comment odd alt thread-even depth-1\">\n<div id=\"comment-2430\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/1.gravatar.com\/avatar\/d59c29f7e0c488c83549263a40e2c8b9?s=40&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">Frank<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">5. November 2014 um 14:48<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Hallo,<br \/>\nerstmal m\u00f6chte ich mich f\u00fcr deine Arbeit bedanken.<br \/>\nIch bin gerade am programmieren und werde erst in Wochen ein Display bekommen. Da ich keine lust habe dann meine komplette Visualisierung neu zu gestellten, w\u00fcrde ich diese gerne direkt richtig programmieren <img decoding=\"async\" class=\"wp-smiley\" src=\"wp-includes\/images\/smilies\/icon_smile.gif\" alt=\":)\" \/><\/p>\n<p>Ich habe lediglich eine kleine Frage, wo befinden sich die Curserpositionen?<br \/>\nWo befindet sich die absolute Koordinate x=0, y=0? In der oberen linken Ecke des Displays?<br \/>\nWo befindet sich der Curser bei der Textausgabe? Unten links, oben links, oben rechts etc?<br \/>\nSchon mal danke im voraus.<\/p>\n<p>Gru\u00df<\/p>\n<p>Frank<\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/p>\n<ul class=\"children\">\n<li id=\"li-comment-2440\" class=\"comment byuser comment-author-admin_ub bypostauthor even depth-2\">\n<div id=\"comment-2440\">\n<div class=\"comment-author vcard\"><img loading=\"lazy\" decoding=\"async\" class=\"avatar avatar-40 photo\" src=\"http:\/\/0.gravatar.com\/avatar\/67426419ead44d5afa132e92685bb460?s=40&amp;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&amp;r=G\" alt=\"\" width=\"40\" height=\"40\" \/><cite class=\"fn\">admin_ub<\/cite> <span class=\"says\">sagt:<\/span><\/div>\n<p><!-- .comment-author .vcard --><\/p>\n<div class=\"comment-meta commentmetadata\">7. November 2014 um 20:19<\/div>\n<p><!-- .comment-meta .commentmetadata --><\/p>\n<div class=\"comment-body\">\n<p>Cursor 0,0 ist in der Ecke links oben. Auf dem Bild da wo das Signalst\u00e4rke-Symbol ist.<br \/>\nx geht bis 239 (dass ist dann ganz rechts)<br \/>\ny geht bis 319 (dass ist ganz unten)<\/p>\n<p>Die Textausgabe benutzt die gleichen Koordinaten, bei 0,0 erscheint der Text<br \/>\nganz oben links \u2026 319 f\u00fcr y geht bei Text nicht, weil der Text selber ja eine bestimmte h\u00f6he hat (z.B. 10 Pixel) dann ist die letzt g\u00fcltige Position (320-10)<\/p>\n<p>auf dem Link siehst du die Textausgabe und die zugeh\u00f6renden Pixelpositionen :<br \/>\n<a href=\"indexda4c.html?page_id=527\" rel=\"nofollow\">http:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=527<\/a><\/p>\n<\/div>\n<\/div>\n<p><!-- #comment-## --><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>-diese Library dient zum ansteuern eines Grafik LC-Displays mit einem ST7783-Chip. (240 x 320 Pixel und 16bit Farbe) -das Display wird \u00fcber den External-Memory-Contoller \u201cFSMC\u201d verwaltet und muss dementsprechend mit der CPU verbunden werden (siehe Pinbelegung in der Library) -die &hellip; <a href=\"https:\/\/mikrocontroller.bplaced.net\/wordpress\/?page_id=211\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":144,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[128],"tags":[139,9,140,7],"class_list":["post-211","page","type-page","status-publish","hentry","category-stm32f4","tag-lcd","tag-library","tag-st7783","tag-stm32f4"],"_links":{"self":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=211"}],"version-history":[{"count":4,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/211\/revisions"}],"predecessor-version":[{"id":3654,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/211\/revisions\/3654"}],"up":[{"embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=\/wp\/v2\/pages\/144"}],"wp:attachment":[{"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikrocontroller.bplaced.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}