# Rpi5 16GB, PiOS/Debian 13 (Trixie), NodeRED 4.1.1, GPIO, i2c ... any appetite?

**URL:** https://discourse.nodered.org/t/rpi5-16gb-pios-debian-13-trixie-nodered-4-1-1-gpio-i2c-any-appetite/99565
**Category:** Hardware
**Created:** [3 November 2025 05:24 UTC](https://discourse.nodered.org/t/rpi5-16gb-pios-debian-13-trixie-nodered-4-1-1-gpio-i2c-any-appetite/99565 "2025-11-03T05:24:09Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![Zentoo](https://avatars.discourse-cdn.com/v4/letter/z/d78d45/32.png) [@Zentoo](https://discourse.nodered.org/u/Zentoo)
#### Post date: [8 November 2025 11:01 UTC](https://discourse.nodered.org/t/rpi5-16gb-pios-debian-13-trixie-nodered-4-1-1-gpio-i2c-any-appetite/99565/12 "2025-11-08T11:01:38Z")

</div>

I'm not involved to use RPI GPIO with nodered but I received this thread within the forum popular topics email and read it by curiosity.

I'm really surprised that there is not C alike library to access GPIO and I fully understand the strange choice of RPI python support in the case you need to use nodejs.

After a quick search engine use it appears that RPI GPIO can be used now with a C/C++ interface through libgpiod:  
Doc: [Welcome to libgpiod’s documentation! — libgpiod documentation](https://libgpiod.readthedocs.io/en/stable/)  
Git: [GitHub - brgl/libgpiod: This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list.](https://github.com/brgl/libgpiod)  
Examples: [libgpiod/examples at master · brgl/libgpiod · GitHub](https://github.com/brgl/libgpiod/tree/master/examples)

From the RPI doc found at [https://pip.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-006553-WP/A-history-of-GPIO-usage-on-Raspberry-Pi-devices-and-current-best-practices.pdf](https://pip.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-006553-WP/A-history-of-GPIO-usage-on-Raspberry-Pi-devices-and-current-best-practices.pdf)

> libgpiod is a C library and set of tools for interacting with the Linux GPIO character devices (/dev/gpiochipX). Note that gpiod  
> stands for GPIO device, not daemon. There are two versions of libgpiod , version 1 and version 2. At present, Raspberry Pi OS  
> includes the version 1 library, so you should take that into account when using the various tools as their behaviour does change  
> between versions.

This document is related to past and current libraries to use GPIO and it seems that currently it's either libgpiod (C/C++), gpiozero (Python) or pinctrl (binary executable).

---

_[View the full topic](https://discourse.nodered.org/t/rpi5-16gb-pios-debian-13-trixie-nodered-4-1-1-gpio-i2c-any-appetite/99565)._
