Discussion:
[racket] Serial library
Bartosz Przygoda
2015-02-23 22:53:12 UTC
Permalink
Hello,

So I've finally connected the parts to have usable (though not thoroughly
tested yet) library for serial communication in Racket:
https://github.com/BartAdv/racket-serial (in racket packages under the name
'serial') - at the moment linux only.

It's based on Python pyserial library, but it does not wrap Racket
input/output ports, rather provides additional functions to help configure
the port and setting/getting various bits.

Previously I was just calling stty to do the configuration, which is not
that welcoming for beginners - pyserial was much easier for simple scripts;
I was using it for some time (playing with Arduino). I felt somewhat sad
that I couldn't just do it with Racket hassle-free so I felt it might be
good idea to create these helpers.

Loading...