# Taking experimental requests: to convert Arduino IDE libraries

**URL:** <https://forum.xod.io/t/taking-experimental-requests-to-convert-arduino-ide-libraries/1588>\
**Category:** Uncategorized\
**Created:** [December 20, 2018, 7:41pm UTC](https://forum.xod.io/t/taking-experimental-requests-to-convert-arduino-ide-libraries/1588 "2018-12-20T19:41:42Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![awgrover](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@awgrover](https://forum.xod.io/u/awgrover)\
**Post date:** [December 24, 2018, 9:46pm UTC](https://forum.xod.io/t/taking-experimental-requests-to-convert-arduino-ide-libraries/1588/24 "2018-12-24T21:46:11Z")

</div>

> [@cesars](#):
>
> First you will have to understand better how to work on github, I do not know how it works in reality, I only have a limited idea.

I wish there was an easier way for people to begin using git & github. It is a problem I have with my students as well. The [github app](https://desktop.github.com/) might make it tolerable. I know it is another thing to figure out.

> [@cesars](#):
>
> I am working in a library, and I found constant values that I do not know how you will define your **tool**.

Yes, that is the `enum` problem. There is a [discussion](https://forum.xod.io/t/xen-f001-enums/1208/5) about how do deal with those. So, right now I don’t define them at all (I’m thinking of a node that has the values listed in the description for now).

The patches that need an enum, like `set-data-rate` in RF24, should take a number. It’s the best we have right now.

I “fixed” RF24, so that inputs that are enums should compile now, the fixes look like:

```auto
auto _cspin = static_cast<int> (getValue<input__cspin>(ctx)); // int

```

And I fixed the `pragma` that references the arduino library.  
[rf24-ll.xodball](https://forum.xod.io/uploads/xod/original/1X/0867d3cc3bab06876d63dae21b9cd3ed0e0d14e7.xodball) (148.2 KB)

---

_[View the full topic](https://forum.xod.io/t/taking-experimental-requests-to-convert-arduino-ide-libraries/1588)._
