<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.mcselec.com/bavr/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=GLCDEADOGMXL240-7-I2C</id>
		<title>GLCDEADOGMXL240-7-I2C - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mcselec.com/bavr/index.php?action=history&amp;feed=atom&amp;title=GLCDEADOGMXL240-7-I2C"/>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=GLCDEADOGMXL240-7-I2C&amp;action=history"/>
		<updated>2026-05-13T03:19:02Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>http://wiki.mcselec.com/bavr/index.php?title=GLCDEADOGMXL240-7-I2C&amp;diff=5250&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;This library was sponsored by a customer.  The library supports the EADOGMXL240-7 in I2C mode.  The library supports all the usual graphical LCD commands.  &lt;span style=&quot;font-f...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=GLCDEADOGMXL240-7-I2C&amp;diff=5250&amp;oldid=prev"/>
				<updated>2015-06-16T08:22:29Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This library was sponsored by a customer.  The library supports the EADOGMXL240-7 in I2C mode.  The library supports all the usual graphical LCD commands.  &amp;lt;span style=&amp;quot;font-f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This library was sponsored by a customer.&lt;br /&gt;
&lt;br /&gt;
The library supports the EADOGMXL240-7 in I2C mode.&lt;br /&gt;
&lt;br /&gt;
The library supports all the usual graphical LCD commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-family: Arial; font-size: 13.3333330154419px;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span class=&amp;quot;f_Header&amp;quot;&amp;gt;Example&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bascomavr&amp;quot;&amp;gt;&lt;br /&gt;
'-------------------------------------------------------------------------------&lt;br /&gt;
' eadogxl240-7.bas&lt;br /&gt;
' (c) MCS Electronics 1995-2015&lt;br /&gt;
' Sample to demo the EADOGXL240-7 LCD in I2C mode&lt;br /&gt;
'&lt;br /&gt;
'-------------------------------------------------------------------------------&lt;br /&gt;
$regfile = &amp;quot;M328pdef.dat&amp;quot; ' the used chip&lt;br /&gt;
$crystal = 8000000 ' frequency used&lt;br /&gt;
$baud = 19200 ' baud rate&lt;br /&gt;
$hwstack = 40&lt;br /&gt;
$swstack = 40&lt;br /&gt;
$framesize = 40&lt;br /&gt;
 &lt;br /&gt;
Config Scl = Portc.5 ' we need to provide the SCL pin name&lt;br /&gt;
Config Sda = Portc.4 ' we need to provide the SDA pin name&lt;br /&gt;
 &lt;br /&gt;
$lib &amp;quot;i2c_twi.lbx&amp;quot; ' we do not use software emulated I2C but the TWI&lt;br /&gt;
Config Twi = 400000 'speed 400 KHz&lt;br /&gt;
I2cinit&lt;br /&gt;
 &lt;br /&gt;
$lib &amp;quot;glcdEADOGMXL240-7-I2C.lib&amp;quot; 'override the default lib with this special one&lt;br /&gt;
#if _build &amp;lt; 2078&lt;br /&gt;
Dim ___lcdrow As Byte , ___lcdcol As Byte&lt;br /&gt;
#endif&lt;br /&gt;
 &lt;br /&gt;
Config Graphlcd = Custom , Cols = 240 , Rows = 128 , Lcdname = &amp;quot;EADOGXL240-7&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
Cls&lt;br /&gt;
 &lt;br /&gt;
Setfont Font8x8tt&lt;br /&gt;
 &lt;br /&gt;
'You can use locate but the columns have a range from 1-240&lt;br /&gt;
'When you want to show somthing on the LCD, use the LDAT command&lt;br /&gt;
 &lt;br /&gt;
Lcdat 1 , 1 , &amp;quot;11111111&amp;quot;&lt;br /&gt;
Lcdat 2 , 1 , &amp;quot;88888888&amp;quot;&lt;br /&gt;
Lcdat 12 , 64 , &amp;quot;MCS Electronics&amp;quot; , 1&lt;br /&gt;
 &lt;br /&gt;
Showpic 60 , 0 , Plaatje&lt;br /&gt;
 &lt;br /&gt;
Circle(30 , 30) , 20 , 255&lt;br /&gt;
Line(0 , 0) -(239 , 127) , 255 ' diagonal line&lt;br /&gt;
Line(0 , 127) -(239 , 0) , 255 ' diagonal line&lt;br /&gt;
 &lt;br /&gt;
End&lt;br /&gt;
 &lt;br /&gt;
$include &amp;quot;font8x8TT.font&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Plaatje:&lt;br /&gt;
 $bgf &amp;quot;ks108.bgf&amp;quot; 'include the picture data&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:ASM Libraries and Add-Ons]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>