Page 1 of 1

newlisp with serial port

Posted: Sat May 26, 2012 2:24 am
by dexter
Can newlisp open serial port with fixed bps ? like 38400...


linux platform

Re: newlisp with serial port

Posted: Sat May 26, 2012 6:36 am
by newdep
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..

Re: newlisp with serial port

Posted: Wed May 30, 2012 4:00 am
by dexter
what about use stty first?

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