<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to I2C 10 Bit Zahl</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f9c9fe49e2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f9c9fe49e2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/f9c9fe49e2/</id><updated>2020-02-28T11:57:24.263000Z</updated><subtitle>Recent posts to I2C 10 Bit Zahl</subtitle><entry><title>I2C 10 Bit Zahl</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f9c9fe49e2/?limit=25#cd76" rel="alternate"/><published>2020-02-28T11:57:24.263000Z</published><updated>2020-02-28T11:57:24.263000Z</updated><author><name>Rolf-Geisler</name><uri>https://forge.codesys.com/u/rolf-geisler/</uri></author><id>https://forge.codesys.come95fb9f34b5234163ef65d767512f556f3b760b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
bei &lt;a class="" href="http://www.geisler-controls.de" rel="nofollow"&gt;http://www.geisler-controls.de&lt;/a&gt;&lt;br/&gt;
Gruss Rolf&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C 10 Bit Zahl</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f9c9fe49e2/?limit=25#61ab" rel="alternate"/><published>2020-02-28T11:57:21.675000Z</published><updated>2020-02-28T11:57:21.675000Z</updated><author><name>Peulebo</name><uri>https://forge.codesys.com/u/peulebo/</uri></author><id>https://forge.codesys.com58695b81f05a43a1e8b075d54d9e9d43dc42db20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
programmiere zur Zeite eine I2C Kommunikation mit einem Master in Codesys. Also ich bekomme von einem Slave AVR Controller eine 10 bit Zahl vom AD-Wandler als Wandlungsergebnis. Bei I2C werden ja immer nur 8 Datenbits gesendet, also sende ich erst den ersten registerinhalt ADCH 2 bit Zahl und dann ADCL eine 8 bit Zahl. Soweit klappt das auch wunderbar, es werden immer im Wechsel 2 Zahlen angezeigt. Jetzt zu meiner Frage, wie bekomme ich in Codesys die 2 und 8 Bit Zahl verknüpft, so dass das richtige Wandlungsergebnis angezeigt wird? Ich programmiere in ST!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>