# Digital Pot Library

**URL:** https://forum.xod.io/t/digital-pot-library/5414
**Category:** XOD Programming Questions
**Created:** [August 26, 2021, 11:33am UTC](https://forum.xod.io/t/digital-pot-library/5414 "2021-08-26T11:33:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![xodballxod](https://avatars.discourse-cdn.com/v4/letter/x/f475e1/32.png) [@xodballxod](https://forum.xod.io/u/xodballxod)
#### Post date: [August 28, 2021, 4:16pm UTC](https://forum.xod.io/t/digital-pot-library/5414/2 "2021-08-28T16:16:14Z")

</div>

There’s a GitHub library for it, so it’s very doable…

> **[GitHub - adafruit/Adafruit\_DS1841](https://github.com/adafruit/Adafruit_DS1841)**
>
> Contribute to adafruit/Adafruit\_DS1841 development by creating an account on GitHub.

You gotta wrap the arduino library inside XOD.

> [@Usage of i2c devices](https://forum.xod.io/t/usage-of-i2c-devices/5406/3):
>
> In General: I just got multiple different I2C devices on the same BUS… Check out the solution to this recent post. The key is not crash the device communications into each other. There are several ways to do this. The simplest is to make a continuous daisy chain… [https://forum.xod.io/t/mcp4725-odd-behavior-does-not-update-with-number-directly/5393/3?u=xodballxod](https://forum.xod.io/t/mcp4725-odd-behavior-does-not-update-with-number-directly/5393/3) Now, you need a library in XOD… You’ve got to make your own, or maybe one of the XODERS can adapt it for you. You gotta start with th…

Next time I need an I2C library, my plan is to try to copy this one, and just change all the parameters for my device.  
[https://xod.io/libs/wayland/ads1115/](https://xod.io/libs/wayland/ads1115/)

---

_[View the full topic](https://forum.xod.io/t/digital-pot-library/5414)._
