Page 1 of 1

Serial port

Posted: Tue Mar 30, 2004 11:10 am
by hellzone
hi all,

This question has been asked many times and doesn't ever seem to get an answer but this time it's either an answer or i stop using Purebasic for my project as i need serial communications in linux.

Can anyone help me with a solution for this?

-james

Posted: Tue Mar 30, 2004 11:39 am
by Fred
PB doesn't support the serial port in his commandset, you you will have to deal with the linux api, which shouldn't be very hard. fopen_(), fread_()and ioctrl_() should do the trick. Lot of sample should be availble on Google.