# Multiple physical buttons GPIO - only one push button at a time + RGB strip and relays sequence with variable delays

**URL:** https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722
**Category:** General
**Created:** [28 October 2022 10:04 UTC](https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722 "2022-10-28T10:04:21Z")
**Posts on this page:** 3
**Page:** 4

<div class="post-metadata">

### Author: ![aquapark\_lodz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aquapark_lodz/32/69828_2.png) [@aquapark\_lodz](https://discourse.nodered.org/u/aquapark_lodz)
#### Post date: [2 November 2022 10:35 UTC](https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722/61 "2022-11-02T10:35:13Z")

</div>

I have straggled with RGB lights and make some sequence with it. I am searching internet for some sequences with lights for 3 GPIO pins but I have found none. Do you have any idea how to combine those three nodes to make some sequences with RGB lights?  
Do I need to use function node with some script? Is it possible to make some sequence without knowing the javascript, python code?  
I want to make some smooth transition from one color to another in specific time

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [2 November 2022 14:32 UTC](https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722/62 "2022-11-02T14:32:04Z")

</div>

Are these RGB lights in addition to the relays?  
Is it a single light controlled by the pi?  
What type of light?  
How are they connected?  
What three nodes are you talking about?

[Update] as I see you have opened a new thread about the RBG lights I’ll close this thread. If you have more questions about the original issue,you can reopen the thread.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [2 November 2022 14:39 UTC](https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722/63 "2022-11-02T14:39:17Z")

</div>



[Previous page](https://discourse.nodered.org/t/multiple-physical-buttons-gpio-only-one-push-button-at-a-time-rgb-strip-and-relays-sequence-with-variable-delays/69722.md?page=3)
