{"id":720,"date":"2013-04-19T07:01:33","date_gmt":"2013-04-19T07:01:33","guid":{"rendered":"http:\/\/bitmap2lcd.com\/blog\/?p=720"},"modified":"2017-09-07T15:26:13","modified_gmt":"2017-09-07T15:26:13","slug":"bitmap2lcd-the-configuration-settings-window","status":"publish","type":"post","link":"https:\/\/bitmap2lcd.com\/blog\/bitmap2lcd-the-configuration-settings-window\/","title":{"rendered":"Bitmap2LCD : The Configuration Settings Window"},"content":{"rendered":"<p><span style=\"color: #808080;\"><em>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.<\/em><\/span><\/p>\n<p><strong><span style=\"color: #ff6600;\">OBSOLETE Article : For older versions<\/span><\/strong><\/p>\n<p>All\u00a0the configuration settings of the Bitmap2LCD tool have been reorganized and grouped\u00a0in one single window :<\/p>\n<p>The main settings, the output file header syntax settings, the pixel to data array orientation setting ,\u00a0the optional\u00a0postprocessing and a new user friendly pixel to data array\u00a0organisation display.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2013\/04\/Bitmap2LCD-Configuration-Settings-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-814\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2013\/04\/Bitmap2LCD-Configuration-Settings-.png\" alt=\"Bitmap2LCD Configuration Settings\" width=\"924\" height=\"625\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2013\/04\/Bitmap2LCD-Configuration-Settings-.png 924w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2013\/04\/Bitmap2LCD-Configuration-Settings--300x202.png 300w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\n<p>&nbsp;<\/p>\n<p>Let&#8217;s\u00a0see how to configure the GLCD data output settings :<\/p>\n<p>The generated data array file can be configured to meet the syntax requests of your compiler or assembler. There are many possible settings, to make it possible to match the tool with most of the compilers of the market.<\/p>\n<p>At first, you define the table data settings<\/p>\n<ul>\n<li>Data Width format. ( 8,16 or 32 bits data)<\/li>\n<li>Binary, Hex or decimal format.<\/li>\n<li>Syntax of Data Byte\/Word (make it compatible with your favorite compiler, assembler)<\/li>\n<li>Type of file (extension)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/bitmap2lcd-output-settings1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1155\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/bitmap2lcd-output-settings1.png\" alt=\"bitmap2lcd output settings\" width=\"927\" height=\"999\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/bitmap2lcd-output-settings1.png 927w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/bitmap2lcd-output-settings1-278x300.png 278w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/bitmap2lcd-output-settings1-624x672.png 624w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>As next, you define the header syntax ( <span style=\"color: #ff0000;\"><strong>output file header<\/strong> tab<\/span>)<\/p>\n<p>&gt;&gt; \u00a0To edit file header <span style=\"color: #0000ff;\">blue arrow<\/span> )<\/p>\n<ul>\n<li>Click on the edit button and the header script is loaded into the editor. Modify it to meet your requirements.<\/li>\n<li>When ready, quit the header editor by clicking the same button.<\/li>\n<li>Find more about the header syntax at the end of this article.<\/li>\n<\/ul>\n<p>As next, you define the way the data arrays are arranged to correctly fit in the DDRAM of your LCD controller. ( Data orientation ) These settings must be compatible with the LCD display functions in the GLCD Library you use in your project.<\/p>\n<ul>\n<li>The origin corner X0,Y0<\/li>\n<li>Data direction (The direction in which the pixels slices are taken from the work canvas and converted to GLCD data, for example in <strong>slices<\/strong> or in full canvas height or full canvas width. A <strong>slice<\/strong> is 8 pixels in monochrome mode and 2 pixels in 4bpp grayscale mode)<\/li>\n<li>The Endianness (Most Significant Bit is first or last)<\/li>\n<li>Special settings<\/li>\n<\/ul>\n<p>More about File Header syntax (\u00a0<span style=\"color: #ff0000;\"><strong>output file header<\/strong> tab<\/span> )<\/p>\n<p>The<strong> script components [&amp;***]<\/strong> can be included only once and will be replaced by the data or value when the data array is generated. Not needed script components can be erased.<\/p>\n<p>[&amp;NAME]<\/p>\n<p>The [$NAME] and the image size and position are optional and can be placed optionally anywhere in the header.<\/p>\n<p>[&amp;SIZE]<\/p>\n<p>Same for Size of Data<\/p>\n<p>[&amp;TRUEORG]<\/p>\n<p>This is the script component if present in the file, to indicate that you want to have the XPOS and YPOS origins of a reduced dynamic table of constants ( a part of the display you want to change ) given from the X0,Y0 corner you selected in the table translation manager window.<\/p>\n<p>[&amp;XPOS]<\/p>\n<p>[&amp;YPOS]<\/p>\n<p>[&amp;WIDTH]<\/p>\n<p>[&amp;HEIGHT]<\/p>\n<p>The corner position on the Work Canvas and the size of the converted graphic area can be exported into the file.<\/p>\n<p>There are additional script components for font generation and data compression.<\/p>\n\t<div class=\"quickshare-container\">\r\n\t<ul class=\"quickshare-genericons quickshare-effect-round quickshare-effect-expand quickshare-small\">\r\n\t\t<li class=\"quickshare-share\"><\/li> \r\n\t\t<li><a href=\"https:\/\/facebook.com\/sharer.php?u=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F&amp;t=Bitmap2LCD+%3A+The+Configuration+Settings+Window+<+Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming\" target=\"_blank\" title=\"Share on Facebook\"><span class=\"quickshare-facebook\">Facebook<\/span><\/a><\/li>\t\t<li><a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F&amp;text=Bitmap2LCD+%3A+The+Configuration+Settings+Window+<+Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming\" target=\"_blank\" title=\"Share on Twitter\"><span class=\"quickshare-twitter\">Twitter<\/span><\/a><\/li>\t\t<li><a href=\"http:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F&amp;media=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fwp-content%2Fuploads%2F2013%2F04%2FBitmap2LCD-Configuration-Settings--300x202.png&amp;description=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems.+OBSOLETE+Article+%3A+For+older+versions+All%C2%A0the+configuration+settings+of+the+Bitmap2LCD+tool+have+been+reorganized+and+grouped%C2%A0in+one+single+window+%3A+The+main+settings%2C+the+output+file%26hellip%3B\" target=\"_blank\" title=\"Share on Pinterest\"><span class=\"quickshare-pinterest\">Pinterest<\/span><\/a><\/li>\t\t<li><a href=\"http:\/\/linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F&amp;title=Bitmap2LCD+%3A+The+Configuration+Settings+Window&amp;source=Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming&amp;summary=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems.+OBSOLETE+Article+%3A+For+older+versions+All%C2%A0the+configuration+settings+of+the+Bitmap2LCD+tool+have+been+reorganized+and+grouped%C2%A0in+one+single+window+%3A+The+main+settings%2C+the+output+file%26hellip%3B\" title=\"Share on Linkedin\" target=\"_blank\"><span class=\"quickshare-linkedin\">Linkedin<\/span><\/a><\/li>\t\t<li><a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F\" target=\"_blank\" title=\"Share on Google+\"><span class=\"quickshare-googleplus\">Google+<\/span><\/a><\/li>\t\t\t\t\t\t\t\t<li><a href=\"mailto:?subject=Bitmap2LCD+Software+Tool+Blog+%3A%3A+about+GLCD+displays+and+Programming:+Bitmap2LCD+%3A+The+Configuration+Settings+Window&amp;body=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fbitmap2lcd-the-configuration-settings-window%2F\" target=\"_blank\" title=\"Share via Email\"><span class=\"quickshare-email\">Email<\/span><\/a><\/li>\t<\/ul>\r\n\t<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems. OBSOLETE Article : For older versions All\u00a0the configuration settings of the Bitmap2LCD tool have been reorganized and grouped\u00a0in one single window : The main settings, the output file header syntax settings, the pixel to data array orientation setting ,\u00a0the optional\u00a0postprocessing and a new [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[443],"tags":[229,94,282,285,284,119,286,106,288,283,287,289],"class_list":["post-720","post","type-post","status-publish","format-standard","hentry","category-configuration-settings-2","tag-bitmap2lcd-settings","tag-bitmap2lcd-tutorial","tag-configuration-settings","tag-convert-glcd-to-data-array","tag-edit-output-file-header","tag-glcd-controller","tag-glcd-source-code","tag-glcd-tool","tag-pixel-organization","tag-pixeld-to-data-array-settings","tag-programing-glcd","tag-programing-tool"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/comments?post=720"}],"version-history":[{"count":18,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/720\/revisions"}],"predecessor-version":[{"id":2690,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/720\/revisions\/2690"}],"wp:attachment":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/categories?post=720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/tags?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}