R Robert_Poland Member Licensed User Oct 15, 2017 #1 Hello, How to start I would like to do so that the text in the text field is written Send to port rs 232. Need an example thx
Hello, How to start I would like to do so that the text in the text field is written Send to port rs 232. Need an example thx
GMan Well-Known Member Licensed User Longtime User Oct 15, 2017 #2 Czeszc ;-) i am using this code for a Send-Button B4X: Private Sub btnSend_Action If txtInput.Text.Length > 0 Then LogMessage("", txtInput.Text) astream.Write(txtInput.Text.GetBytes("UTF8")) txtInput.Text = "" End If End Sub Do Wizenia ;-) Upvote 0
Czeszc ;-) i am using this code for a Send-Button B4X: Private Sub btnSend_Action If txtInput.Text.Length > 0 Then LogMessage("", txtInput.Text) astream.Write(txtInput.Text.GetBytes("UTF8")) txtInput.Text = "" End If End Sub Do Wizenia ;-)
R Robert_Poland Member Licensed User Oct 15, 2017 #3 THX! This is very clear to me. How to set port selection and speed speed may be permanent Upvote 0
GMan Well-Known Member Licensed User Longtime User Oct 15, 2017 #4 Take a look here (former AsyncStreams) https://www.b4x.com/android/forum/threads/network-asyncstreams-b4xserializator.79540/ Upvote 0
Take a look here (former AsyncStreams) https://www.b4x.com/android/forum/threads/network-asyncstreams-b4xserializator.79540/