# Node red contribution

**URL:** <https://discourse.nodered.org/t/node-red-contribution/38099>\
**Category:** General\
**Created:** [27 December 2020 16:28 UTC](https://discourse.nodered.org/t/node-red-contribution/38099 "2020-12-27T16:28:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![theo481](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@theo481](https://discourse.nodered.org/u/theo481)\
**Post date:** [27 December 2020 16:28 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/1 "2020-12-27T16:28:06Z")

</div>

Hey everyone, and merry Christmas to all.

I am kinda new here and am looking for some help and guidance.

My aim is to create a new node, to interface a clickboard sensor to a BeagleBone Black.  
I have already written a program in C to do so, and was wondering on what the steps to creating a new node would be. I want to be able to use my functions within node-red rather than as an external program.

Is there any kind of tutorial? even a very basic one, like for reading a gpio for example, or create a node from a C function to output/display "hello world".

Thnx in advance

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 December 2020 17:54 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/2 "2020-12-27T17:54:53Z")

</div>

Hi there, welcome to the community.

The first step is to check the flows library to see if anything already exists.

Next is to run through the Node-RED docs which includes some information about writing custom nodes. Then to maybe look at some existing custom nodes to get some ideas about best practice.

As nodes are node.js modules, the integration to C comes from node.js and you should look for suitable information there.

---

<div class="post-metadata">

**Author:** ![theo481](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@theo481](https://discourse.nodered.org/u/theo481)\
**Post date:** [28 December 2020 23:13 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/3 "2020-12-28T23:13:54Z")

</div>

Hey,  
Thank you for your reply.  
Unfortunately, no library exists, for which it'll be an interesting project for me to work on.  
For the rest, I'll go again through the docs. 🙂

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [28 December 2020 23:19 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/4 "2020-12-28T23:19:10Z")

</div>

> [@theo481](#):
>
> Unfortunately, no library exists,

By library, we mean have you checked for a node that provides that functionality in - [https://flows.nodered.org/](https://flows.nodered.org/)

---

<div class="post-metadata">

**Author:** ![theo481](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@theo481](https://discourse.nodered.org/u/theo481)\
**Post date:** [28 December 2020 23:25 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/5 "2020-12-28T23:25:06Z")

</div>

Yes, I thought I understood that correctly, but from the library search, I wasn't able to find the sensor or sensor family I am using

---

<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:** [26 February 2021 23:25 UTC](https://discourse.nodered.org/t/node-red-contribution/38099/6 "2021-02-26T23:25:19Z")

</div>

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