<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to PCF8591 &amp; Raspberry Pi Analog Output Problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81eab5373d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81eab5373d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/81eab5373d/</id><updated>2021-05-22T18:33:52.639000Z</updated><subtitle>Recent posts to PCF8591 &amp; Raspberry Pi Analog Output Problem</subtitle><entry><title>PCF8591 &amp; Raspberry Pi Analog Output Problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81eab5373d/?limit=25#741d" rel="alternate"/><published>2021-05-22T18:33:52.639000Z</published><updated>2021-05-22T18:33:52.639000Z</updated><author><name>abner</name><uri>https://forge.codesys.com/u/abner/</uri></author><id>https://forge.codesys.comb47e76155b74574a51618d21639302e9fc95c7c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am working with a Raspberry Pi 3B+ &amp;amp; an PCF8591 pre-configured module, I downloaded the library and XML device, and I communicate both devices via I2C, I was able to read each one of the analog Inputs A0-A3.&lt;/p&gt;
&lt;p&gt;The problem is when I try to work with Analog Output, there is a variable in the library called "out", so I put a value between 0-255 and I read 0V on the Output.&lt;/p&gt;
&lt;p&gt;I have tryied with differents values on control Byte 16#40, 16#41, 16#42, 16#43&lt;/p&gt;
&lt;p&gt;I did a test with an Arduino UNO and it worked perfectly, so I think that It could be something with the library but I cannot get the issue.&lt;/p&gt;
&lt;p&gt;I hope that someone could help, thank you...&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>