newLISP Fan Club

Forum => newLISP in the real world => Topic started by: dexter on May 25, 2012, 07:24:51 PM

Title: newlisp with serial port
Post by: dexter on May 25, 2012, 07:24:51 PM
Can newlisp open serial port with fixed bps ? like 38400...





linux platform
Title: Re: newlisp with serial port
Post by: newdep on May 25, 2012, 11:36:37 PM
Yes no problem (theoretically), but you dont want to reinvent the wheel and create a new serial driver on kernel level in newlisp using embeded C or Asm code...



When you have setup the lowlevel tty flowcontrol for the serial device newlisp can talk to the device/file without a problem..
Title: Re: newlisp with serial port
Post by: dexter on May 29, 2012, 09:00:51 PM
what about use stty first?



then

Can I use the newlisp functions (open) (write) to control serial port?