{"id":318,"date":"2012-09-13T05:56:49","date_gmt":"2012-09-13T05:56:49","guid":{"rendered":"http:\/\/bitmap2lcd.com\/blog\/?p=318"},"modified":"2014-07-23T16:37:30","modified_gmt":"2014-07-23T16:37:30","slug":"about-the-touch-panel-function-in-bitmap2lcd","status":"publish","type":"post","link":"https:\/\/bitmap2lcd.com\/blog\/about-the-touch-panel-function-in-bitmap2lcd\/","title":{"rendered":"About the touch panel function in Bitmap2LCD"},"content":{"rendered":"<p><span style=\"color: #808080;\"><strong><em>Bitmap2LCD is a tool for programming small Graphic LCDs in embedded systems.<\/em><\/strong><\/span><\/p>\n<p>Touch panel regions (green arrow) can be graphically defined in the work canvas.<\/p>\n<ul>\n<li>If not already displayed, load the correct bitmap into the work canvas ( sample)<\/li>\n<li>Create a Touch panel script (orange arrow)<\/li>\n<\/ul>\n<p>The editor gutter becomes green\u00a0= Touch Panel Script.<\/p>\n<ul>\n<li>A region can be defined using\u00a0the mouse with the area selection tool (<span style=\"color: #008000;\"><strong>green<\/strong><strong> arrow<\/strong><\/span>)<\/li>\n<li>When the touch panel region size and location\u00a0are correct, convert the area to a region with the &#8220;Make touch region&#8221; button (yellow arrow)<\/li>\n<li>When all regions where defined , convert the script to an output file (<strong>black arrow<\/strong>)<\/li>\n<\/ul>\n<p>Note that you can edit, move, resize defined regions.<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Feature.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1495\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Feature.png\" alt=\"Bitmap2lcd Touch Screen Feature\" width=\"1014\" height=\"642\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Feature.png 1014w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Feature-300x189.png 300w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Feature-624x395.png 624w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><\/p>\n<p><strong>Configuration settings for touch panel data output (see fig2)<\/strong><\/p>\n<ul>\n<li>In the Touch panel main menu (<strong><span style=\"color: #ff6600;\">orange arrow<\/span><\/strong>) you can define the data direction and the Touch Screen controller resolution (8,10 or 12 bit)<\/li>\n<li>In the <a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/toolTouch.bmp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1425\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2014\/01\/toolTouch.bmp\" alt=\"toolTouch\" \/><\/a> Configuration Settings Panel, under tab <strong>Touch Panel<\/strong>, you can define\u00a0your favorite\u00a0output syntax.<\/li>\n<li>When converting the defined regions with the button (<span style=\"color: #008000;\"><strong>green arrow<\/strong><\/span>) the data in the editor then contains the regions, with field number and the 4 coordinates of\u00a0each region.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1499\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Settings.png\" alt=\"Bitmap2lcd Touch Screen Settings\" width=\"924\" height=\"625\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Settings.png 924w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Settings-300x202.png 300w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Settings-624x422.png 624w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Start-touch.bmp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1502\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Start-touch.bmp\" alt=\"Start touch\" \/><\/a> Then convert the Touch Panel Regions to Data :<\/p>\n<p><a href=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Data.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1501\" src=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Data.png\" alt=\"Bitmap2lcd Touch Screen Data\" width=\"924\" height=\"625\" srcset=\"https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Data.png 924w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Data-300x202.png 300w, https:\/\/bitmap2lcd.com\/blog\/wp-content\/uploads\/2012\/09\/Bitmap2lcd-Touch-Screen-Data-624x422.png 624w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/a><\/p>\n<p>&nbsp;<\/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%2Fabout-the-touch-panel-function-in-bitmap2lcd%2F&amp;t=About+the+touch+panel+function+in+Bitmap2LCD+<+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%2Fabout-the-touch-panel-function-in-bitmap2lcd%2F&amp;text=About+the+touch+panel+function+in+Bitmap2LCD+<+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%2Fabout-the-touch-panel-function-in-bitmap2lcd%2F&amp;media=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F09%2FStart-touch.bmp&amp;description=Bitmap2LCD+is+a+tool+for+programming+small+Graphic+LCDs+in+embedded+systems.+Touch+panel+regions+%28green+arrow%29+can+be+graphically+defined+in+the+work+canvas.+If+not+already+displayed%2C+load+the+correct+bitmap+into+the+work+canvas+%28+sample%29+Create%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%2Fabout-the-touch-panel-function-in-bitmap2lcd%2F&amp;title=About+the+touch+panel+function+in+Bitmap2LCD&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.+Touch+panel+regions+%28green+arrow%29+can+be+graphically+defined+in+the+work+canvas.+If+not+already+displayed%2C+load+the+correct+bitmap+into+the+work+canvas+%28+sample%29+Create%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%2Fabout-the-touch-panel-function-in-bitmap2lcd%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:+About+the+touch+panel+function+in+Bitmap2LCD&amp;body=https%3A%2F%2Fbitmap2lcd.com%2Fblog%2Fabout-the-touch-panel-function-in-bitmap2lcd%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. Touch panel regions (green arrow) can be graphically defined in the work canvas. If not already displayed, load the correct bitmap into the work canvas ( sample) Create a Touch panel script (orange arrow) The editor gutter becomes green\u00a0= Touch Panel Script. A [&hellip;]<\/p>\n","protected":false},"author":3,"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":[125],"tags":[131,56,126,129,132,127,128,130],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-touch-panel-touch-screen","tag-bitmap2lcd-touch","tag-glcd","tag-touch-panel","tag-touch-panel-programming","tag-touch-panel-region","tag-touch-screen","tag-touch-screen-controller","tag-touch-screen-programming"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/318","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":14,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":1503,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions\/1503"}],"wp:attachment":[{"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitmap2lcd.com\/blog\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}