title: Read strings and send binary to STM32 via UART
body: <p>I want read and send thousand of rows from PC to STM32 mikrocontroller using UART interface.</p>
  
  <p>Rows looks like:</p>
  
  <pre><code>1089,1089,1089,1089
  1089,1089,1089,1089
  1101,1101,1101,1101
  1126,1126,1126,1126
  1259,1221,1208,1270
  1285,1248,1236,1295
  1312,1277,1266,1322
  1337,1303,1292,1347
  1351,1316,1304,1361
  ...
  </code></pre>
  
  <p>STM32 should save a binary data first, and then be able to read row after row and set PWM values every 100ms.</p>
  
  <ol>
  <li>How can I convert a string to binary/hex using QT Creator (send string via UART is to much bytes)? </li>
  <li>What is a better way to save a bin amount of rows (up to 20000 rows) on STM32 - arrays? binary file? </li>
  <li>Should I use an external storage?</li>
  </ol>
  
  <p>Thank you! </p>