# XRPCode extensions - addressable LEDs, I2C OLED displays, sound,

**URL:** <https://xrp.discourse.group/t/xrpcode-extensions-addressable-leds-i2c-oled-displays-sound/356>\
**Category:** Programming tools\
**Created:** [May 22, 2024, 7:50pm UTC](https://xrp.discourse.group/t/xrpcode-extensions-addressable-leds-i2c-oled-displays-sound/356 "2024-05-22T19:50:15Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)\
**Post date:** [June 4, 2024, 5:52pm UTC](https://xrp.discourse.group/t/xrpcode-extensions-addressable-leds-i2c-oled-displays-sound/356/18 "2024-06-04T17:52:35Z")

</div>

Hi there,

I’ve not read through this whole conversation in detail, but sounds like most f the discussion was on software, so figured I’d chime in with some info about the hardware additions that @WayneSeltzer asked about.

Addressable LED strips are pretty easy to add with the servo headers. MicroPython includes this library that you can use to control the strips: [neopixel — control of WS2812 / NeoPixel LEDs — MicroPython latest documentation](https://docs.micropython.org/en/latest/library/neopixel.html) Just make sure you’re conscious about how much power you’re drawing from the LEDs!

You could also use the servo headers for adding buzzers and just outputting a PWM signal from the IO pin. The RedBot Buzzer can actually be connected directly into the servo headers, though the volume may be a bit quiet: [SparkFun RedBot Buzzer - ROB-12567 - SparkFun Electronics](https://www.sparkfun.com/products/12567)

I2C devices can also be added via the Qwiic connector, though the software is a little tricky at the moment. We’ve got low-level driver implementations working with the XRP for a number of our existing Python libraries, and are currently working on making this easy to implement within XRPCode, though no promises on if/when that will happen. If you want to try it out now, I wrote some instructions a while back that _I think_ should still work: [(Where) is Qwiic demo code available (such as from the webinar)? - #6 by SparkFro](https://xrp.discourse.group/t/where-is-qwiic-demo-code-available-such-as-from-the-webinar/101/6)

Hope this helps!

---

_[View the full topic](https://xrp.discourse.group/t/xrpcode-extensions-addressable-leds-i2c-oled-displays-sound/356)._
