![]() ![]() That will learn you a lot - not only about SerialPort, but also about.Net in general (delegates, multitasking etc.). csooi28 You can find all the information you need about SerialPort in my, and yes it is possible to look for 'OK' in a string, but isn't that your homework -) You will not learn anything just by asking us to write the code for you, but read the tutorial. Good programmers write code that humans understand. Any fool can write code that a computer can understand. Everything should be made as simple as possible, but not simpler. ![]() The serial port is just a way to convert parallel data to serial data and send the data by using RS-232 signal levels. 'However, my concern is that when microprocessor send data to my program through serial port, what is the coding for VB.net?' What do you mean by that? Gambas is a great visual programming environment csooi28 You can find all the information you need about SerialPort in my, and yes it is possible to look for 'OK' in a string, but isn't that your homework -) You will not learn anything just by asking us to write the code for you, but read the tutorial. On Raspbian this port or device appears as. Some data) to a serial port (containing control characters), and listen to the response (which also usually might. On Linux, I want to send a command string (i.e. Send data to my program through serial port. How to send/receive serial data, check the receive. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |