Recent content by kidotnet

  1. K

    How to create a proper byte?

    Unfortunately, that wasn't what I wanted =[ Ok, sorry for the shady explanation, here i go again: The micro controller i'm sending data to uses this syntax: Syntax: “!SC” C R pw.LOWBYTE, pw.HIGHBYTE, $0D So, from my program, i got the "!SC" part and the ending 0D part correct, but the...
  2. K

    How to create a proper byte?

    Having problem converting numbers... Thanks for the tip on 0D = carrier return! That works now.... But now I'm having trouble converting UInt16 into proper bytes... can anyone help? It keeps giving me the ascii value, though i used UInt16.parse(someInt) and then using convert.tobyte on that...
  3. K

    How to create a proper byte?

    Hi all, I'm writing an app to communicate with a serial port device and I'm having trouble creating a proper byte value... I'm using the Rs232 class from gotdotnet, and did this: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...
Top Bottom