newlisp with serial port

Q&A's, tips, howto's
Locked
dexter
Posts: 74
Joined: Fri Nov 11, 2011 12:55 am

newlisp with serial port

Post by dexter »

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


linux platform

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Re: newlisp with serial port

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

dexter
Posts: 74
Joined: Fri Nov 11, 2011 12:55 am

Re: newlisp with serial port

Post by dexter »

what about use stty first?

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

Locked