<?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=GLCDdSSD1306-I2C</id>
		<title>GLCDdSSD1306-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=GLCDdSSD1306-I2C"/>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=GLCDdSSD1306-I2C&amp;action=history"/>
		<updated>2026-04-22T14:13:34Z</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=GLCDdSSD1306-I2C&amp;diff=5251&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;This library is based on work of Ben Zijstra and Heiko/Hkipnik  The library supports the SSD1306 graphical LCD in I2C mode.  Since the display can not read data back, the libr...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.mcselec.com/bavr/index.php?title=GLCDdSSD1306-I2C&amp;diff=5251&amp;oldid=prev"/>
				<updated>2015-06-16T08:23:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This library is based on work of Ben Zijstra and Heiko/Hkipnik  The library supports the SSD1306 graphical LCD in I2C mode.  Since the display can not read data back, the libr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This library is based on work of Ben Zijstra and Heiko/Hkipnik&lt;br /&gt;
&lt;br /&gt;
The library supports the SSD1306 graphical LCD in I2C mode.&lt;br /&gt;
&lt;br /&gt;
Since the display can not read data back, the library supports only the graphical write statements. Commands like LINE, PSET and CIRCLE which need to alter a single pixel are not supported.&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;
' SSD1306-I2C.BAS&lt;br /&gt;
' (c) MCS Electronics 1995-2015&lt;br /&gt;
' Sample to demo the 128x64 I2C OLED display&lt;br /&gt;
'&lt;br /&gt;
'-------------------------------------------------------------------------------&lt;br /&gt;
$regfile = &amp;quot;m88pdef.dat&amp;quot;&lt;br /&gt;
$hwstack = 32&lt;br /&gt;
$swstack = 32&lt;br /&gt;
$framesize = 32&lt;br /&gt;
$crystal = 8000000&lt;br /&gt;
Config Clockdiv = 1 ' make sure the chip runs at 8 MHz&lt;br /&gt;
 &lt;br /&gt;
Config Scl = Portc.5 ' used i2c pins&lt;br /&gt;
Config Sda = Portc.4&lt;br /&gt;
Config Twi = 400000 ' i2c speed&lt;br /&gt;
 &lt;br /&gt;
I2cinit&lt;br /&gt;
$lib &amp;quot;i2c_twi.lbx&amp;quot; ' we do not use software emulated I2C but the TWI&lt;br /&gt;
$lib &amp;quot;glcdSSD1306-I2C.lib&amp;quot; ' override the default lib with this special one&lt;br /&gt;
 &lt;br /&gt;
#if _build &amp;lt; 20784&lt;br /&gt;
Dim ___lcdrow As Byte , ___lcdcol As Byte ' dim these for older compiler versions&lt;br /&gt;
#endif&lt;br /&gt;
 &lt;br /&gt;
Config Graphlcd = Custom , Cols = 128 , Rows = 64 , Lcdname = &amp;quot;SSD1306&amp;quot;&lt;br /&gt;
Cls&lt;br /&gt;
Setfont Font8x8tt ' select font&lt;br /&gt;
 &lt;br /&gt;
Lcdat 1 , 1 , &amp;quot;BASCOM-AVR&amp;quot;&lt;br /&gt;
Lcdat 2 , 10 , &amp;quot;1995-2015&amp;quot;&lt;br /&gt;
Lcdat 8 , 5 , &amp;quot;MCS Electronics&amp;quot; , 1&lt;br /&gt;
Waitms 3000&lt;br /&gt;
 &lt;br /&gt;
Showpic 0 , 0 , Plaatje&lt;br /&gt;
 &lt;br /&gt;
End&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
$include &amp;quot;font8x8TT.font&amp;quot; ' this is a true type font with variable spacing&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;
{{Languages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:ASM Libraries and Add-Ons]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>