Turns out threads are a lot easier without beer and after a good nights sleep. Following up on last night’s defeat (see coroutines in common lisp), I re-read the documentation this morning and got my locks sorted out. I now use one lock and two condition variables (CV). From the bordeaux-threads API docs: A condition […]
Category Archives: fun
talking usb-serial to my arduino from lisp (sbcl) on linux
Monday, September 28, 2009
I got an arduino microcontroller a little while ago, and have played with it a little but found it’s C/C++ development environment annoying. I wanted to control it from lisp, and that meant serial IO. Many other languages have special serial libraries you can use, where you instatiate a Serial object with configuration like baud, […]