![]() Thanks -Christopher Delete Replies Reply Reply djalilosse Jat 1:18 AM Mr Christopher hi, I find another example of gambas2 Laison with rs232, it works fine, my problem how can I display the string generated by this carracteres Laison, on my project, I give you my email so I send you gtkterm images (image of the chain) the image of the same project or code sourcecomme. Please give me your dummy e-mail, so that I can give you the gambas-example source code in using serial port. You can try the Gambas2 example code on serial port application if you want. Reply Delete Replies Reply E3 Septemat 6:46 PM Hi Sir LeszekK, Wow,thats good for you. ![]() Thanks E3 Reply Delete Replies Reply LeszekK Septemat 4:47 PM Problem solved. My advise you need to have a virtual COM port for your USB interface.It will catch data from USB protocol and convert it to a RS232 protocol (Serial port) -then you will read something(provided also with correct port config) 1) Pyserial port can give you the idea 2) Pseudo Terminal in Linux 3) or you need a USB to serial adapter(this is easy and cheap also. Reading from devrfcomm0 (bluetooth) works perfectly. My program connects to the USB port but it does not get any data. The program correctly handles reading data from the GPS device via bluetooth.īut when I try to read data through USB is unfortunately the program does not receive anything.īy the console command: cat devttyUSB0 I get the whole sequence of NMEA data from GPS devices. Problem: Cant have a faster read via serial port 1) Try to empty first the buffer before reading the next data buffer bufferreadserial() 2) of course you can adjust the faster baud rate your host device is capable too. Gambas Serial Port Send Receive Serial Interfacing RS232 Gambas Serial Port Send Receive Serial Interfacing RS232.Gambas Serial Port Send Receive Code PRIVATE SComm. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |