{"id":20,"date":"2009-04-17T14:19:10","date_gmt":"2009-04-17T02:19:10","guid":{"rendered":"http:\/\/tur-www1.massey.ac.nz\/~fherbert\/?p=20"},"modified":"2009-04-17T14:22:44","modified_gmt":"2009-04-17T02:22:44","slug":"lcd-across-ports","status":"publish","type":"post","link":"https:\/\/www.herbert.org.nz\/?p=20","title":{"rendered":"LCD across ports"},"content":{"rendered":"<p>Using CodevisionAVR in the past, it has been great to use the LCD library to interface with an LCD. When this is not so great is if you have a non-standard setup and wish to connect the LCD to the AVR across different ports. I have this issue with my next project &#8211; a LCD interface for other microcontrollers. I am going to use the Tiny2313 and it can accept commands via either serial or i2c interface. The interface will be selected by 2 input lines (configured by jumpers). These 2 input lines will also configure the serial communication speed if it is used. The one issue I have come across so far is that the USI pins and serial pins are on separate ports and will need to be available. This does not leave a full port for the LCD interface, requiring the LCD data lines (4 pins) and the control lines (3 pins) will have to span ports. The upshot of this is that I cannot use the built in LCD library in CodevisionAVR. This is what has lead me down the path of programming the AVR on my OS X machine.<\/p>\n<p>The google gods have guided me to this site\u00a0http:\/\/winavr.scienceprog.com\/example-avr-projects\/avr-4-bit-lcd-interface-library.html which is pretty much exactly what I&#8217;m looking for.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using CodevisionAVR in the past, it has been great to use the LCD library to interface with an LCD. When this is not so great is if you have a non-standard setup and wish to connect the LCD to the &hellip; <a href=\"https:\/\/www.herbert.org.nz\/?p=20\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4,6,5],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-avr","category-iic","category-lcd"],"_links":{"self":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":4,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}