<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry Pi - Creating own I2C library and use it without device description.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/</id><updated>2024-05-15T11:50:45.137000Z</updated><subtitle>Recent posts to Raspberry Pi - Creating own I2C library and use it without device description.</subtitle><entry><title>Raspberry Pi - Creating own I2C library and use it without device description.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/?limit=25#1279/0af7" rel="alternate"/><published>2024-05-15T11:50:45.137000Z</published><updated>2024-05-15T11:50:45.137000Z</updated><author><name>siscu</name><uri>https://forge.codesys.com/u/siscu/</uri></author><id>https://forge.codesys.com47b82c1dbb2ccb2a6e3bc4fcbf5bd778d03f30a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Do you think there'd be a way to turn this into a library?&lt;br/&gt;
How would I2C_master be passed down to POU FBs?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi - Creating own I2C library and use it without device description.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/?limit=25#6fe8" rel="alternate"/><published>2021-03-03T03:20:13.566000Z</published><updated>2021-03-03T03:20:13.566000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com507ef03091a5f9f4e367d5b7f87ca5cb39c2e66e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Mr. Edwin.&lt;/p&gt;
&lt;p&gt;It seems the example project direct access to I2C_Master address without using I2C library FB.&lt;/p&gt;
&lt;p&gt;What if i add I2C_Master and instantiate I2C library FB and use it? (no connection between I2C_Master and I2C device library FB) Nothing happen?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi - Creating own I2C library and use it without device description.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/?limit=25#1279" rel="alternate"/><published>2021-03-02T16:54:03.877000Z</published><updated>2021-03-02T16:54:03.877000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfab65c390073d092c3d200dbc69e15719babddac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
in the forum examples,&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25#333d"&gt;https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25#333d&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;there is an example you just add I2C master and &lt;br/&gt;
use the fb's to access the I2C device in your code.&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&amp;amp;page=1#5a8f"&gt;https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&amp;amp;page=1#5a8f&lt;/a&gt;&lt;br/&gt;
I think this is what you need to archive this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi - Creating own I2C library and use it without device description.</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52c7ca695d/?limit=25#e3fc" rel="alternate"/><published>2021-03-02T06:38:18.204000Z</published><updated>2021-03-02T06:38:18.204000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com86f2888d9b8a60880550cdd29f08357e6d0d363a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I would like to create my own I2C libraries with help of &lt;a href="https://forge.codesys.com/drv/io-drivers/doc/I2C/?version=1"&gt;https://forge.codesys.com/drv/io-drivers/doc/I2C/?version=1&lt;/a&gt;&lt;br/&gt;
However, I need to use it in Runtime without adding devices into a device tree in Codesys Development System which means i need to dynamically add I2C devices with IEC code.&lt;br/&gt;
Is it possible to just instantiate the library FBs and use it in Runtime?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>