title: How to split hex byte of an ASCII character
body: <p>What basically i want to do is</p>
  
  <p>For eg: 'a' hex equivalant is <code>0x61</code>, can i split<code>61</code> in to <code>6</code> and <code>1</code> and store them as <code>'6'</code> and <code>'1'</code> ?</p>
  
  <p>A buffer is receiving data like this:</p>
  
  <pre><code>rx_dataframe.data[0] is H'00,'.'// H' is Hex equivalant and '' is ASCII value
  rx_dataframe.data[0] is H'31,'1'
  rx_dataframe.data[0] is H'32,'2'
  rx_dataframe.data[0] is H'33,'3'
  </code></pre>
  
  <p>I need to  to convert <code>hex values 0x00,0x31,0x32,0x33</code> in to char value <code>'0','0','3','1','3','2';'3','3'</code>
  and to store them at the locations of <code>tx_buff_data[];</code></p>
  
  <p>I want my <code>tx_buff_data</code> look like this</p>
  
  <pre><code>tx_buff_data[0] have H'30,'0'
  tx_buff_data[1] have H'30,'0'
  tx_buff_data[2] have H'33,'3'
  tx_buff_data[3] have H'31,'1'
  tx_buff_data[4] have H'33,'3'
  tx_buff_data[5] have H'32,'2'
  tx_buff_data[6] have H'33,'3'
  tx_buff_data[7] have H'33,'3'
  </code></pre>