# Raspberry PI 4 GPIO

**URL:** <https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904>\
**Category:** General\
**Created:** [1 August 2019 18:09 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904 "2019-08-01T18:09:49Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 August 2019 15:25 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/21 "2019-08-02T15:25:20Z")

</div>

When you say "Yes," do you mean my code doesn't work or it does work on your Pi? 🙂

---

<div class="post-metadata">

**Author:** ![rjandsam](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rjandsam](https://discourse.nodered.org/u/rjandsam)\
**Post date:** [2 August 2019 15:36 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/22 "2019-08-02T15:36:30Z")

</div>

The above code is what I used to get a result  
using GPIO.BOARD fails

---

<div class="post-metadata">

**Author:** ![rjandsam](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rjandsam](https://discourse.nodered.org/u/rjandsam)\
**Post date:** [2 August 2019 15:37 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/23 "2019-08-02T15:37:50Z")

</div>

I see the same result as you with regards to BCM and BOARD

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 August 2019 16:16 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/24 "2019-08-02T16:16:16Z")

</div>

I've raised a bug with the RPi.GPIO author

I've tried out the pigpio node which works using gpio numbering but I can't get it to even control standard pins - its website says it might not work on the Pi4 and it seems it doesn't at the moment ☹ #NotWinning

---

<div class="post-metadata">

**Author:** ![rjandsam](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rjandsam](https://discourse.nodered.org/u/rjandsam)\
**Post date:** [2 August 2019 16:56 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/25 "2019-08-02T16:56:31Z")

</div>

Haha that will teach me to not fully study the RPI pinouts before designing a 4 layer PCB.

Thankfully when I designed the board I designed it with a 44 pin pic onboard that also links to the 14 outputs so I'll just use that for this version of the board with PI communications to that chip, would have just been more convenient having the PI deal with all outputs.  
#PlanB

---

<div class="post-metadata">

**Author:** ![moment](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@moment](https://discourse.nodered.org/u/moment)\
**Post date:** [20 September 2019 22:29 UTC](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904/26 "2019-09-20T22:29:11Z")

</div>

> **[Node-Red](https://www.abelectronics.co.uk/forums/thread/255/node-red)**
>
> Support forum post for Node-Red

did anyone test this with node-red?

> **[IO Pi Plus - 32 Channel Port Expander for the Raspberry Pi](https://www.abelectronics.co.uk/p/54/io-pi-plus)**
>
> 32 channel IO expander for the Raspberry Pi B+ computer boards

[Previous page](https://discourse.nodered.org/t/raspberry-pi-4-gpio/13904.md?page=1)
