# How to copy the code for arduino

**URL:** <https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381>\
**Category:** XOD Programming Questions\
**Created:** [December 19, 2022, 7:47pm UTC](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381 "2022-12-19T19:47:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willcolson](https://avatars.discourse-cdn.com/v4/letter/w/f1d935/32.png) [@willcolson](https://forum.xod.io/u/willcolson)\
**Post date:** [December 19, 2022, 7:47pm UTC](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381/1 "2022-12-19T19:47:50Z")

</div>

So, the problem is that I don’t know why the number of lines for the simplest code is more than 2000. I’ve planned a simple sketch for one led with one node, then I’d like to copy the code and paste it to Tinkercad in order to check its working process, but I received 2000 lines, when this code can be written in 20,so how to extract particular my code

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [December 20, 2022, 1:47am UTC](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381/2 "2022-12-20T01:47:47Z")

</div>

XOD is a graphical programming model that abstracts out programming details and logic flow. It is not going to output optimized code. There is an entire framework needed to make those abstractions work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [January 19, 2023, 1:48am UTC](https://forum.xod.io/t/how-to-copy-the-code-for-arduino/6381/3 "2023-01-19T01:48:23Z")

</div>

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