<?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>Sample code for using OLED-C with Azure Sphere</title><link>/products/devtools/avnetboardscommunity/azure-sphere-starter-kits/b/blog/posts/sample-code-for-using-oled-c-with-azure-sphere</link><description>I&amp;#39;ve managed to get the OLED-C Click board working with the Avnet Azure Sphere Starter Kit. It will work with the OLED-C in mikroBUS #1 or with a few changes in a header file it will work in mikroBUS #2. I would include a photo, but it seems that the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Sample code for using OLED-C with Azure Sphere</title><link>https://community.element14.com/products/devtools/avnetboardscommunity/azure-sphere-starter-kits/b/blog/posts/sample-code-for-using-oled-c-with-azure-sphere</link><pubDate>Thu, 10 Oct 2019 13:09:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:13f859e2-4140-4327-9307-c8e5e2e638fe</guid><dc:creator>Fred27</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;It turns out that the &lt;a class="jive-link-external-small" href="https://www.mikroe.com/oled-c-click" rel="nofollow ugc noopener" target="_blank"&gt;Click OLED-C&lt;/a&gt; board uses pin 2 of the mikroBUS socket as its enable pin. Nothing wrong with that. It&amp;#39;s connected to GPIO2 on the MT3620 and it works just fine. However, it seems that both mikroBUS sockets on the Avnet Azure Sphere Starter Kit share GPIO2 in this position.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This means that any other Click board that uses pin 2 may not play nicely with the OLED-C. I&amp;#39;ve got a few other Click boards and this is what I found:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-external-small" href="https://www.mikroe.com/heart-rate-4-click" rel="nofollow ugc noopener" target="_blank"&gt;Heart Rate 4&lt;/a&gt; - this uses pins 2 as to signal data is ready to be read over I2C. You can&amp;#39;t use it alongside to the OLED-C&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-external-small" href="https://www.mikroe.com/nfc-click" rel="nofollow ugc noopener" target="_blank"&gt;NFC click&lt;/a&gt; - this also uses pin 2 as an interrupt. It won&amp;#39;t play nicely.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-external-small" href="https://www.mikroe.com/oled-b-click" rel="nofollow ugc noopener" target="_blank"&gt;OLED-B&lt;/a&gt; - This is OK, but I&amp;#39;m not sure why you&amp;#39;d want 2 OLED displays.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m not going to go through the range of Click board and work them all out, but beware of any that use pin 2 - the second one down from the top on the right hand side. If there&amp;#39;s consistency between boards then I&amp;#39;d hazard a guess it&amp;#39;s any that use I2C.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7923&amp;AppID=235&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>