# Node problem (#pragma)

**URL:** <https://forum.xod.io/t/node-problem-pragma/6505>\
**Category:** Install/Upload Problems\
**Created:** [March 17, 2023, 8:12am UTC](https://forum.xod.io/t/node-problem-pragma/6505 "2023-03-17T08:12:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lagg](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/lagg/32/3772_2.png) [@lagg](https://forum.xod.io/u/lagg)\
**Post date:** [March 17, 2023, 8:12am UTC](https://forum.xod.io/t/node-problem-pragma/6505/1 "2023-03-17T08:12:24Z")

</div>

I installed bradzilla84/arduino-tft-lib, but the simulation gives an error. I’m not very good at C and C++, but I think I found where in the code it gives an error. Other people have it working, so it’s probably my problem…  
I’ll send you a picture

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/c/cf6bd951cadce7ee818b21c0f7dd8b8886ba3af9.png)  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/806b48f40962310f33bc18ea3203bbea295726fb.png)

Underlined the obscurity for me

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/3/34672174f1a2c13ac50b9c8a7d461a30d5a4859b.png)  
The line from the XOD training. I compared it to

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [March 17, 2023, 8:42am UTC](https://forum.xod.io/t/node-problem-pragma/6505/2 "2023-03-17T08:42:09Z")

</div>

Unfortunately, it is not possible to simulate hardware devices. See:

> [@Simulation error - please help](https://forum.xod.io/t/simulation-error-please-help/3911/4):
>
> You can’t simulate extra hardware like buttons, LCD, LED, or sensors. These need replaced with tweak or watch nodes or run on actual hardware. You can use debug when running on hardware to combine tweak/watch nodes with extra hardware.

---

<div class="post-metadata">

**Author:** ![lagg](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/lagg/32/3772_2.png) [@lagg](https://forum.xod.io/u/lagg)\
**Post date:** [March 17, 2023, 9:57am UTC](https://forum.xod.io/t/node-problem-pragma/6505/3 "2023-03-17T09:57:42Z")

</div>

I couldn’t load the code into the arduino pro mini, it showed an error

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/7/7282ae933feaa6637b7f5aebeddf74efd89dec27.png)

---

<div class="post-metadata">

**Author:** ![lagg](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/lagg/32/3772_2.png) [@lagg](https://forum.xod.io/u/lagg)\
**Post date:** [March 17, 2023, 10:10am UTC](https://forum.xod.io/t/node-problem-pragma/6505/4 "2023-03-17T10:10:25Z")

</div>

- Oh, I forgot about cast-to-string

---

<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:** [March 25, 2023, 6:35pm UTC](https://forum.xod.io/t/node-problem-pragma/6505/5 "2023-03-25T18:35:37Z")

</div>

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