{"id":1881,"date":"2015-07-18T09:37:02","date_gmt":"2015-07-18T09:37:02","guid":{"rendered":"http:\/\/bitmap2lcd.com\/blog\/?p=1881"},"modified":"2015-07-18T09:39:49","modified_gmt":"2015-07-18T09:39:49","slug":"generating-2bpp-grayscale-data-on-two-pages","status":"publish","type":"post","link":"https:\/\/bitmap2lcd.com\/blog\/generating-2bpp-grayscale-data-on-two-pages\/","title":{"rendered":"Generating 2bpp grayscale data on two pages"},"content":{"rendered":"<h4><span style=\"color: #808080;\"><strong><em>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems and a programmable graphic and text processing tool.<\/em><\/strong><\/span><\/h4>\n<h3>Generating 2bpp grayscale data on two pages<\/h3>\n<p style=\"text-align: justify;\">From Version 3.4b, a new setting for an alternative output format for 2bpp grayscale has been implemented.<\/p>\n<p style=\"text-align: justify;\">The data then is generated in two separate data arrays (or pages) : The first page of 1bpp data is to turn on<em> light gray<\/em>, and the second page of 1bpp data is to turn <em>dark gray<\/em>.<\/p>\n<p style=\"text-align: justify;\">For example, for a 128 x 96 2bpp gray LCD Panel, the generated data is split in two arrays of 128 x 12 bytes. Each byte contains 1bpp of 8 pixels, combined with the other byte in the other array to make the 2bpp.<\/p>\n<p style=\"text-align: justify;\">Target : For example LCD controller <strong>S6B0741<\/strong> (Samsung)<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/07\/bitmap2lcd-4bpp-grayscale.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-1885 aligncenter\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/07\/bitmap2lcd-4bpp-grayscale.jpg\" alt=\"bitmap2lcd 4bpp grayscale\" width=\"378\" height=\"734\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/07\/bitmap2lcd-4bpp-grayscale.jpg 378w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2015\/07\/bitmap2lcd-4bpp-grayscale-154x300.jpg 154w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/a><\/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%2Fgenerating-2bpp-grayscale-data-on-two-pages%2F&amp;t=Generating+2bpp+grayscale+data+on+two+pages+<+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%2Fgenerating-2bpp-grayscale-data-on-two-pages%2F&amp;text=Generating+2bpp+grayscale+data+on+two+pages+<+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%2Fgenerating-2bpp-grayscale-data-on-two-pages%2F&amp;media=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fwp-content%2Fuploads%2F2015%2F07%2Fbitmap2lcd-4bpp-grayscale-154x300.jpg&amp;description=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems+and+a+programmable+graphic+and+text+processing+tool.+Generating+2bpp+grayscale+data+on+two+pages+From+Version+3.4b%2C+a+new+setting+for+an+alternative+output+format+for+2bpp%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%2Fgenerating-2bpp-grayscale-data-on-two-pages%2F&amp;title=Generating+2bpp+grayscale+data+on+two+pages&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+and+a+programmable+graphic+and+text+processing+tool.+Generating+2bpp+grayscale+data+on+two+pages+From+Version+3.4b%2C+a+new+setting+for+an+alternative+output+format+for+2bpp%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%2Fgenerating-2bpp-grayscale-data-on-two-pages%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:+Generating+2bpp+grayscale+data+on+two+pages&amp;body=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fgenerating-2bpp-grayscale-data-on-two-pages%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 and a programmable graphic and text processing tool. Generating 2bpp grayscale data on two pages From Version 3.4b, a new setting for an alternative output format for 2bpp grayscale has been implemented. The data then is generated in two separate data arrays (or [&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":[81],"tags":[659,247,662,664,666,663,33,660,658,667,661,665],"class_list":["post-1881","post","type-post","status-publish","format-standard","hentry","category-grayscale-glcd","tag-2bpp-lcd","tag-4-gray-levels","tag-column-address","tag-combination","tag-display-memory-map","tag-internal-display","tag-lcd-controller","tag-lm9033a","tag-s6b0741","tag-samsung-lcd-controller","tag-topway","tag-two-adjacent-bytes"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1881","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=1881"}],"version-history":[{"count":12,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1881\/revisions"}],"predecessor-version":[{"id":1894,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/1881\/revisions\/1894"}],"wp:attachment":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/media?parent=1881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/categories?post=1881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/tags?post=1881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}