newlisp with serial port

Started by dexter, May 25, 2012, 07:24:51 PM

Previous topic - Next topic

dexter

Can newlisp open serial port with fixed bps ? like 38400...





linux platform

newdep

#1
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..
-- (define? (Cornflakes))

dexter

#2
what about use stty first?



then

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