<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Apropos of wiringPi, I have created a library for interfacing with
    the Texas Instruments ADS1015 ADC on the raspberry pi. These are SPI
    devices that come in 12 and 16 bit varieties. As far as I know, the
    wiringPi library doesn't have functions  to interface with these
    chips (they've got their own special SPI handshaking procedure), so
    I rolled my own. <br>
    <br>
    These are really nice, fairly inexpensive little devices. They have
    up to 4 channels per chip and can be programmed to operate in a
    variety of different modes (differential pairs, different reference
    voltages, etc.). Each query to the chip starts with instructions for
    how to read the input, so you can dynamically change how you read in
    the data in real time. <br>
    <br>
    There is no Pd extern yet, but I will release one when I get around
    to it -- or someone else can beat me to the punch. The library has
    everything one needs to exploit the full functionality of the
    device.<br>
    <br>
    The code (with the archive compiled for pi 1) is on github: <a
      href="https://github.com/dmedine/ads1015drvr">https://github.com/dmedine/ads1015drvr</a><br>
    <br>
    Adafruit sells little dev boards for the 12-bit version: <a
      href="http://www.adafruit.com/products/1083">http://www.adafruit.com/products/1083</a><br>
    <br>
    Cheers,<br>
    David<br>
    <br>
    <div class="moz-cite-prefix">On 7/7/2015 7:50 AM, Rick Snow wrote:<br>
    </div>
    <blockquote
cite="mid:CACeJACLNhNMXu2seJ5SXa0yx=BMLbQo1v4Evnwfj0-dCsxoQjw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p dir="ltr">Thank you everyone. The wiringPi objects now load.
        Changing the names from l_arm to pd_linux and then running pd as
        sudo was the solution as far as I can tell. </p>
      <p dir="ltr">Objects in help files are loading (haven't checked
        actual functionality yet) in PD 43.2 and 46.6. </p>
      <p dir="ltr">Luis: Pd_darwin is Mac architecture. I just mistyped
        in my last message! </p>
      <div class="gmail_quote">On Jul 6, 2015 11:50 PM, "Jaime E Oliver"
        <<a moz-do-not-send="true"
          href="mailto:jaime.oliver2@gmail.com">jaime.oliver2@gmail.com</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div style="word-wrap:break-word">
            <div>
              <blockquote type="cite">
                <div style="word-wrap:break-word">
                  <div>
                    <blockquote type="cite">
                      <div>El 06/07/2015, a las 8:52 p.m., Jaime E
                        Oliver <<a moz-do-not-send="true"
                          href="mailto:jaime.oliver2@gmail.com"
                          target="_blank">jaime.oliver2@gmail.com</a>>
                        escribió:</div>
                      <br>
                      <div>
                        <div style="word-wrap:break-word">the externals
                          will crash pd if it isn't opened with sudo.
                          <div>J</div>
                        </div>
                      </div>
                    </blockquote>
                    What do you mean with external crash? do you refer
                    the wiringPi externals?<br>
                  </div>
                </div>
              </blockquote>
              yes. you need sudo level to access the gpio with those
              externals and will crash if you don't start pd as sudo.</div>
            <div><br>
            </div>
            <div>J</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>