title: How to send Text and hex codes to serial VFD display [VB.NET]
body: <p>I want to program a vfd display to use with vb.net
  Currently, I'm only able to send text to the vfd display, however it's still not in correct format. I couldn't figure it out, so I will include the programming manual.</p>
  
  <p>Things that I want to do:</p>
  
  <ul>
  <li>Since there are 2 lines, I want to show different data in those 2 lines.</li>
  <li>I should be able to clear the display. </li>
  <li>If the text is longer than the display (20 lines), it should start scrolling.
  Thats all for now, I hope someone could help me.</li>
  </ul>
  
  <p>Here's the code that I used:</p>
  
  <pre><code> Dim sp As New SerialPort()
  
      sp.PortName = "COM1"
      sp.BaudRate = 9600
      sp.Parity = Parity.None
      sp.DataBits = 8
      sp.StopBits = StopBits.One
      sp.Open()
      sp.WriteLine(TextBox1.Text)
      sp.WriteLine(TextBox2.Text)
      sp.Close()
      sp.Dispose()
      sp = Nothing
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Eyy9w.jpg" alt="enter image description here"></p>