# \[Software\] WiringPi

**URL:** <https://dietpi.com/forum/t/software-wiringpi/204>\
**Category:** Requests\
**Created:** [5 December 2015 21:34 UTC](https://dietpi.com/forum/t/software-wiringpi/204 "2015-12-05T21:34:21Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)\
**Post date:** [5 December 2015 21:34 UTC](https://dietpi.com/forum/t/software-wiringpi/204/1 "2015-12-05T21:34:21Z")

</div>

Hi FourDee,

I have a good Software suggestion for DietPi.

WiringPi

It is basically a competitor to RPi.GPIO

WiringPi has a command line utility called ‘gpio’. This makes it possible to control GPIO pins from the command line. Read about it here

Generally WiringPi has a lot more features available, SPI/I2C, Gert board etc.

and it’s more newbie friendly because the code looks a lot like Arduino Code.

Regards

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [6 December 2015 20:20 UTC](https://dietpi.com/forum/t/software-wiringpi/204/2 "2015-12-06T20:20:20Z")

</div>

Excellent suggestion Zombie +1. I’ve created a ticket for this requested and I will take a look when I can:  
[https://github.com/Fourdee/DietPi/issues/136](https://github.com/Fourdee/DietPi/issues/136)

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [9 December 2015 14:16 UTC](https://dietpi.com/forum/t/software-wiringpi/204/3 "2015-12-09T14:16:02Z")

</div>

Available as a DietPi-Software optimized installation for v103.

---

<div class="post-metadata">

**Author:** ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)\
**Post date:** [9 December 2015 21:06 UTC](https://dietpi.com/forum/t/software-wiringpi/204/4 "2015-12-09T21:06:20Z")

</div>

YEAH!!

Can’t wait for v103. Hope this update arrives soon.

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [9 December 2015 21:12 UTC](https://dietpi.com/forum/t/software-wiringpi/204/5 "2015-12-09T21:12:01Z")

</div>

> [@Zombievirus](#):
>
> YEAH!!
> 
> Can’t wait for v103. Hope this update arrives soon.

Everything is done, planned for tomorrow 🙂

---

<div class="post-metadata">

**Author:** ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)\
**Post date:** [10 December 2015 20:48 UTC](https://dietpi.com/forum/t/software-wiringpi/204/6 "2015-12-10T20:48:53Z")

</div>

> [@Fourdee](#):
>
> Everything is done, planned for tomorrow 🙂

No Update ☹

Maybe tommorow?

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [10 December 2015 20:50 UTC](https://dietpi.com/forum/t/software-wiringpi/204/7 "2015-12-10T20:50:27Z")

</div>

> [@Zombievirus](#):
>
> > [@Fourdee](#):
> >
> > Everything is done, planned for tomorrow 🙂
> 
> No Update ☹
> 
> Maybe tommorow?

v103 is available now. 🙂 It was released about 1 hour ago.

```plaintext
dietpi-update

```

---

<div class="post-metadata">

**Author:** ![Zombievirus](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zombievirus](https://dietpi.com/forum/u/Zombievirus)\
**Post date:** [10 December 2015 20:55 UTC](https://dietpi.com/forum/t/software-wiringpi/204/8 "2015-12-10T20:55:40Z")

</div>

> [@Fourdee](#):
>
> v103 is available now. 🙂 It was released about 1 hour ago.
> 
> ```plaintext
> dietpi-update
> 
> ```

oops! I just kept refreshing the version history page in the Forum. Didn’t check via the command itself.

Thanks for the update 😃

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [10 December 2015 21:43 UTC](https://dietpi.com/forum/t/software-wiringpi/204/9 "2015-12-10T21:43:29Z")

</div>

> [@Zombievirus](#):
>
> oops! I just kept refreshing the version history page in the Forum. Didn’t check via the command itself.
> 
> Thanks for the update 😃

No worries.  
As well as providing hosting for [DietPi.com](http://DietPi.com) and moderating these forums, Pilovali keeps the version history on this forum updated in his free time. Its up there now [v103](https://dietpi.com/forum/t/v103/214/1) 🙂 .

---

<div class="post-metadata">

**Author:** ![scargill](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@scargill](https://dietpi.com/forum/u/scargill)\
**Post date:** [16 October 2016 21:08 UTC](https://dietpi.com/forum/t/software-wiringpi/204/10 "2016-10-16T21:08:18Z")

</div>

If I might suggest - wiringPI only works for the PI - whereas WiringOP works for the likes of OrangePI - it does need some customisation for the likes of the FriendlyArm units and currently the pin numbers are wrong on all but the OrangePi - modifying with a parameter to set up what hardware is in use would make this INCREDIBLY useful as it has the GPIO tool which can be used by a non-root user - and hence by Node-Red EXEC node. I am running a NEO right now and I have a led flashing on and off using this - I cannot however figure out how to get the I2c running - I suspect something is missing. Not everyone wants to build music centres and so access to hardware as easy as it is on the real Pi would be a godsend.

---

<div class="post-metadata">

**Author:** ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)\
**Post date:** [17 October 2016 18:29 UTC](https://dietpi.com/forum/t/software-wiringpi/204/11 "2016-10-17T18:29:11Z")

</div>

> [@scargill](#):
>
> If I might suggest - wiringPI only works for the PI - whereas WiringOP works for the likes of OrangePI - it does need some customisation for the likes of the FriendlyArm units and currently the pin numbers are wrong on all but the OrangePi - modifying with a parameter to set up what hardware is in use would make this INCREDIBLY useful as it has the GPIO tool which can be used by a non-root user - and hence by Node-Red EXEC node. I am running a NEO right now and I have a led flashing on and off using this - I cannot however figure out how to get the I2c running - I suspect something is missing. Not everyone wants to build music centres and so access to hardware as easy as it is on the real Pi would be a godsend.

Hi Pete,

I’ll take a look at getting this compiled. But, we will need end users to test as I have no skills in soldering and GPIO in general. Programmer != engineer, in my case anyway lol 🙂

I’ve created a Git Ticket here, will try and take a look tomorrow, but i’ll let you know when its ready for testing: [https://github.com/Fourdee/DietPi/issues/563](https://github.com/Fourdee/DietPi/issues/563).
