<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>OLED I2C Silkscreens are wrong, or are they?</title><link>/members-area/personalblogs/b/blog/posts/oled-i2c-silkscreens-are-wrong-or-are-they</link><description>One-inch OLED displays with an SSD1306 controller talk to microcontrollers over I2C. Several libraries are available that make interfacing to these modules straightforward. You need to provide a few pieces of information: the screen size and the I2C </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: OLED I2C Silkscreens are wrong, or are they?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/oled-i2c-silkscreens-are-wrong-or-are-they</link><pubDate>Sun, 07 Feb 2021 10:00:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:41d686a0-e69a-4f4e-9a97-f87b17cb22ee</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The confusion was baked into the original spec.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x329/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-41d686a0-e69a-4f4e-9a97-f87b17cb22ee/3323.contentimage_5F00_207326.jpg:620:329]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On datasheets at that time, Philips used the byte format. Here&amp;#39;s an example of a device with addresses 0x8A or 0x8E:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x465/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-41d686a0-e69a-4f4e-9a97-f87b17cb22ee/6765.contentimage_5F00_207327.jpg:620:465]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When writing code, I always stored the address as a byte (with the lsb 0) because I was familiar with the datasheets and it seemed more logical for a byte protocol.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For your OLED board, there&amp;#39;s no right answer. But if they want to sell loads to makers and hobbyists using Arduino libraries, they&amp;#39;d probably do better to ignore datasheets and do it the way the programmer of the library did.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10820&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: OLED I2C Silkscreens are wrong, or are they?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/oled-i2c-silkscreens-are-wrong-or-are-they</link><pubDate>Sat, 06 Feb 2021 22:58:37 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:41d686a0-e69a-4f4e-9a97-f87b17cb22ee</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Consistency in i2c address specification is not-a-thing &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-41d686a0-e69a-4f4e-9a97-f87b17cb22ee/contentimage_5F00_1.png:16:16]&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;In a datasheet, an indication may be if they give a different address for read and write (-&amp;gt;the 8 bits address) or not (-&amp;gt;7bits).&lt;/p&gt;&lt;p&gt;What also not helps is that you look in example code and some HALs expect the 7-bit address, while others the distinct 8-bit read and write ones.&lt;/p&gt;&lt;p&gt;No matter how careful you are, it&amp;#39;ll bite you once so often ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10820&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: OLED I2C Silkscreens are wrong, or are they?</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/oled-i2c-silkscreens-are-wrong-or-are-they</link><pubDate>Sat, 06 Feb 2021 20:34:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:41d686a0-e69a-4f4e-9a97-f87b17cb22ee</guid><dc:creator>kmikemoo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:57a79c8ceae84c06b59d42e67a0ded50:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&amp;nbsp; Bit banging to an answer is always cool.&amp;nbsp; Thanks for sharing it.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10820&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>