# Update to some of the Libraries

**URL:** <https://forum.xod.io/t/update-to-some-of-the-libraries/1483>\
**Category:** Look What I’ve Done\
**Created:** [December 4, 2018, 3:39pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483 "2018-12-04T15:39:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 4, 2018, 3:39pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/1 "2018-12-04T15:39:30Z")

</div>

Hey guys i have updated some of the Libraries i have done.

[https://xod.io/libs/bradzilla84/74hc595/](https://xod.io/libs/bradzilla84/74hc595/)  
The 74HC595 is a “8-bit serial-in, serial or parallel-out shift register with output latches; 3-state.” In other words, you can use it to control 8 outputs at a time while only taking up a few pins on your microcontroller. Normal use 3 pins, or 5 pin with Enable and Clear. (With the assistance of Cesars)

[https://xod.io/libs/bradzilla84/arduino-tft-lib/](https://xod.io/libs/bradzilla84/arduino-tft-lib/)  
This library enables an Arduino board to communicate with the Arduino TFT LCD screen. It simplifies the process for drawing shapes, lines, images(COMING SOON), and text to the screen. The Arduino TFT library extends the Adafruit GFX, and Adafruit ST7735 libraries that it is based on. The GFX library is responsible for the drawing routines, while the ST7735 library is specific to the screen on the Arduino TFT. The Arduino specific additions were designed to work as similarly to the Processing API as possible. This is just a Wrapper for the Arduino TFT Library…

[https://xod.io/libs/bradzilla84/ftoled/](https://xod.io/libs/bradzilla84/ftoled/)  
For use with Freetronics OLED128 128x128 pixel OLED display(Just a test Lib, Stay tuned for Arduino TFT Lib to be released soon to support TFT LCD’s in general)

[https://xod.io/libs/bradzilla84/i2c-pwm-servo-16ch/](https://xod.io/libs/bradzilla84/i2c-pwm-servo-16ch/)  
This is an example of the Adafruit 16-channel PWM & Servo driver Just a simple wrapper

[https://xod.io/libs/bradzilla84/neopixel/](https://xod.io/libs/bradzilla84/neopixel/)  
Basic Functionality for NeoPixel Strip (See Examples)

[https://xod.io/libs/bradzilla84/preset-select/](https://xod.io/libs/bradzilla84/preset-select/)  
Just a quick example of a preset select/Pack/Unpack Patch…Can Be adjusted in code to more or less inputs

[https://xod.io/libs/bradzilla84/touch-adafruit/](https://xod.io/libs/bradzilla84/touch-adafruit/)  
This is a touch display Wrapper for the common Adafruit TouchScreen. Can be used to map display to touch values and make Keypads and Menus.(More examples to come)

[https://xod.io/libs/bradzilla84/x2125/](https://xod.io/libs/bradzilla84/x2125/)  
Memsic MX2125 Dual-axis Accelerometer library for Arduino

**And soon to come:**

**MCUFRIEND\_kbv**  
Supports boards:  
SUPPORT\_0139 //S6D0139 +280 bytes  
SUPPORT\_0154 //S6D0154 +320 bytes  
SUPPORT\_1289 //SSD1289,SSD1297 (ID=0x9797) +626 bytes, 0.03s  
SUPPORT\_1580 //R61580 Untested  
SUPPORT\_1963 //only works with 16BIT bus anyway  
SUPPORT\_4532 //LGDP4532 +120 bytes. thanks Leodino  
SUPPORT\_4535 //LGDP4535 +180 bytes  
SUPPORT\_68140 //RM68140 +52 bytes defaults to PIXFMT=0x55  
SUPPORT\_7781 //ST7781 +172 bytes  
SUPPORT\_8230 //UC8230 +118 bytes  
SUPPORT\_8347D //HX8347-D, HX8347-G, HX8347-I, HX8367-A +520 bytes, 0.27s  
SUPPORT\_8347A //HX8347-A +500 bytes, 0.27s  
SUPPORT\_8352A //HX8352A +486 bytes, 0.27s  
SUPPORT\_8352B //HX8352B  
SUPPORT\_8357D\_GAMMA //monster 34 byte  
SUPPORT\_9225 //ILI9225-B, ILI9225-G ID=0x9225, ID=0x9226 +380 bytes  
SUPPORT\_9326\_5420 //ILI9326, SPFD5420 +246 bytes  
SUPPORT\_9342 //costs +114 bytes  
SUPPORT\_9806

**Adafruit SleepyDog**  
Arduino library to use the watchdog timer for system reset and low power sleep.

Currently supports the following hardware:

- Arduino Uno or other ATmega328P-based boards.
- Arduino Mega or other ATmega2560- or 1280-based boards.
- Arduino Zero, Adafruit Feather M0 (ATSAMD21).
- Arduino Leonardo or other 32u4-based boards (e.g. Adafruit Feather) WITH CAVEAT: USB Serial connection is clobbered on sleep; if sketch does not require Serial comms, this is not a concern. The example sketches all print to Serial and appear frozen, but the logic does otherwise continue to run. You can restore the USB serial connection after waking up using `USBDevice.attach();` and then reconnect to USB serial from the host machine.
- Partial support for Teensy 3.X and LC (watchdog, no sleep).

Adafruit Trinket and other boards using ATtiny MCUs are NOT supported.

**Would anyone be interested in a MQTT PubSubClient ?**

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [December 6, 2018, 4:01pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/2 "2018-12-06T16:01:35Z")

</div>

You’re a library sorcerer! 🧙 Thank you for all of them!

What’s for MQTT there was [interest some time ago](https://forum.xod.io/t/create-mqtt-library/986). I’m not sure whether it is actual or not. @tobias, @moi-yashik2 ?

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 6, 2018, 4:33pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/3 "2018-12-06T16:33:15Z")

</div>

No Problem 😄  
I use it a lot in my home automation. Mainly for sensor devices but its uses are endless when combined with something like NodeRed [https://nodered.org/](https://nodered.org/)  
I have adapted a lot of devices for it normally i use ESPEasy [https://www.letscontrolit.com/wiki/index.php/ESPEasy](https://www.letscontrolit.com/wiki/index.php/ESPEasy)  
on a ESP8266 or ESP32( I would love to see XOD support this board, i have tried to get it to work with limited success )

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [December 6, 2018, 5:00pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/4 "2018-12-06T17:00:35Z")

</div>

Cool!

BTW, do you see any potential of mixing XOD and NodeRed. I have no deep experience with NodeRed, so cannot come with a bombastic idea. I think XOD can be used for low-level device development so that the device can be further orchestrated in a wider network by NodeRed. Not sure if it makes sense.

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 6, 2018, 5:29pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/5 "2018-12-06T17:29:02Z")

</div>

yes… And yes 🙂 it makes a lot of sense. Mqtt is widely used and accepted in this environment. it would not take a lot to mix the two together and be able to create some amazing projects with Zod handling the low level and node-red linking to everything else. I’ve run out of time tonight it is 3 a.m. here but I will take a look at it tomorrow. 🙂

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 7, 2018, 10:43pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/6 "2018-12-07T22:43:50Z")

</div>

Hi all  
**MCUFRIEND\_kbv** is up now. Just have to do some more examples.  
P. S. This is an extended version Of The Adafruit GFX library 😊

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 8, 2018, 6:42pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/7 "2018-12-08T18:42:03Z")

</div>

Just finished  
[bradzilla84/sleepydog](https://xod.io/libs/bradzilla84/sleepydog/)

Adafruit SleepyDog Arduino Library  
Arduino library to use the watchdog timer for system reset and low power sleep.

This still needs some testing (from what i have tried works fine but…)  
I have a feeling the sleep function may cause Unwanted side effects with some things…  
Any feedback would be greatly appreciated 😄

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [December 10, 2018, 3:34pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/8 "2018-12-10T15:34:28Z")

</div>

Cool and thank you again!

Do not hesitate to start a new thread for a library. I suspect it will work better when someone would search for a feature in the future: the relevant library of the great bradzilla84 will immediately pop up.

---

<div class="post-metadata">

**Author:** ![bradzilla84](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/bradzilla84/32/659_2.png) [@bradzilla84](https://forum.xod.io/u/bradzilla84)\
**Post date:** [December 11, 2018, 6:34am UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/9 "2018-12-11T06:34:11Z")

</div>

Sounds good lol, Will do 😊

---

<div class="post-metadata">

**Author:** ![bazw](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@bazw](https://forum.xod.io/u/bazw)\
**Post date:** [April 23, 2019, 7:21pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/10 "2019-04-23T19:21:51Z")

</div>

I am new to XOD but finding it to be very good and am using it to control part of a model railway

I am using your bradzilla84/i2c-pwm-servo-16ch library and it work great for both LED’s and separately for servos

The question I have is I am aware that it is possible to connect multiple boards together as long asa they only support either LED’S or servos separately

The first board uses the default address 0x40

I know how to change the address on the second board to 0x41 but I can’t find were to update the address in any of the nodes

Can this be done and how do I do it?

It’s much appreciated the effort by all involved in this development way of righting C++

I am using XOD because I did not wish to lean C++

I did my degree in electronics and computer engineering in the mid/late 70’s so was not keen to learn another computer language but XOD has been very intuitive  
Thanks  
BAZW

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [April 23, 2019, 7:28pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/11 "2019-04-23T19:28:31Z")

</div>

From the documentation, the library uses the default address & doesn’t allow you to change it. To use multiple boards, a pin would need to be added for address and the library updated to use that address when creating a device object.

---

<div class="post-metadata">

**Author:** ![k0smaty1](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@k0smaty1](https://forum.xod.io/u/k0smaty1)\
**Post date:** [January 8, 2020, 8:06pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/12 "2020-01-08T20:06:53Z")

</div>

> [@bradzilla84](#):
>
> T7781

@bradzilla84 Amazing Work!  
Can you share some knowledge on how to use your TFT wrapper with cheap lcd

 ![unnamed](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/6/64221ba08038da3d3936a423e1d700f24aa0d40e.jpeg) ?  
I have 1.44" SPI 128x128 V2.1 working on TFT\_ILI9163C.  
It works perfectly without any additional hardware but it needs more PINs (MOSI) and a little hack in the code. I use it with Arduino IDE and upload a code using library from

> **[GitHub - sumotoy/TFT\_ILI9163C: A library for ILI9163C displays for Teensy,...](https://github.com/sumotoy/TFT_ILI9163C)**
>
> A library for ILI9163C displays for Teensy, Arduino, ESP82266 and more... - GitHub - sumotoy/TFT\_ILI9163C: A library for ILI9163C displays for Teensy, Arduino, ESP82266 and more...

My question is - is there a way to make it work with your wrapper in XOD?  
I can’t make it work with just 3 pins (CD, DC, RESET)  
[https://xod.io/libs/bradzilla84/arduino-tft-lib/tft-device/](https://xod.io/libs/bradzilla84/arduino-tft-lib/tft-device/)

---

<div class="post-metadata">

**Author:** ![stevehurton](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@stevehurton](https://forum.xod.io/u/stevehurton)\
**Post date:** [February 8, 2020, 4:59pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/14 "2020-02-08T16:59:38Z")

</div>

Hi Brad,  
Any idea why the set rotation won’t work with my display?  
Coding with the Arduino IDE works fine, am i doing something wrong?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![wedgehog2](https://avatars.discourse-cdn.com/v4/letter/w/82dd89/32.png) [@wedgehog2](https://forum.xod.io/u/wedgehog2)\
**Post date:** [April 15, 2021, 12:42pm UTC](https://forum.xod.io/t/update-to-some-of-the-libraries/1483/15 "2021-04-15T12:42:01Z")

</div>

Hi Bradzilla84, thank you for your work. I have a 128 x 128 oled made by Waveshare it can be either I2C or ISP I am trying to drive it with your ftoled 128 library but not having much success, is there another library I could try? I am new to ZOD but I did get the 1306 all working and displaying four lines of text in ZOD so I am learning
