# How to send a number in hexadecimal to Arduino?

**URL:** <https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174>\
**Category:** General RealDash discussion\
**Created:** [October 9, 2019, 12:11pm UTC](https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174 "2019-10-09T12:11:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [October 9, 2019, 12:11pm UTC](https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174/1 "2019-10-09T12:11:12Z")

</div>

If you use RDCan\_2way.ino, what the sample code should look like to send the numeric value of the variable to hexadecimal. ?  
For example, you need to send a number in arduino: 0x5DA  
Give an example to send?

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [October 10, 2019, 11:13am UTC](https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174/2 "2019-10-10T11:13:44Z")

</div>

Is it possible?

---

<div class="post-metadata">

**Author:** ![OutDriver](https://forum.realdash.net/letter_avatar_proxy/v4/letter/o/8c91f0/32.png) [@OutDriver](https://forum.realdash.net/u/OutDriver)\
**Post date:** [July 7, 2020, 3:51pm UTC](https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174/3 "2020-07-07T15:51:13Z")

</div>

And no answer again?  
I not find format for send frame

---

<div class="post-metadata">

**Author:** ![OutDriver](https://forum.realdash.net/letter_avatar_proxy/v4/letter/o/8c91f0/32.png) [@OutDriver](https://forum.realdash.net/u/OutDriver)\
**Post date:** [July 8, 2020, 5:40am UTC](https://forum.realdash.net/t/how-to-send-a-number-in-hexadecimal-to-arduino/174/4 "2020-07-08T05:40:44Z")

</div>

Where to find the frame format for sending data?  
This XML

```plaintext
<frames baseId="0x0014">
   <frame Id="290" writeInterval="5000">
     <value targetId="310" offset="0" length="3" initialValue="V"></value>
   </frame>

```

gives out

```plaintext
44 33 22 11 14 00 00 00 00 00 00 00 00 00 00 00 BE

```

Why 0x14? If must be 0x14+290 = 310?  
Why 00 00 00 00? my ODO is not equal 00…  
"initialValue=“ID310” also don’t work.  
How it work?
