# How to make a Shift Register in Node Red?

**URL:** <https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353>\
**Category:** General\
**Created:** [23 April 2020 08:55 UTC](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353 "2020-04-23T08:55:17Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [23 April 2020 10:24 UTC](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353/21 "2020-04-23T10:24:30Z")

</div>

Ok. I'm dumb.

But reading post #3, it gets a `1` and shifts it _left_ ten times (for reasons undefined) and spits the `1` out after ten messages were/are received.

What happens to the messages between that original message and when the message saved is sent isn't declared.

Again: This is an alternative to do that. If it doesn't do what is needed it wasn't declared as I read it.

(Great TV show about to start, so I am going off line.)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 April 2020 11:28 UTC](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353/22 "2020-04-23T11:28:20Z")

</div>

He wants to use the array each time it is shifted. Nothing is mentioned about spitting the 1 out at that end.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 June 2020 11:38 UTC](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353/23 "2020-06-22T11:38:33Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/how-to-make-a-shift-register-in-node-red/25353.md?page=1)
