4 ms·
Common Lisp interface to the pigpio Raspberry Pi hardware library
- jlarocco 3y agoNeat. I wrote a binding to wiringPi ages ago (https://github.com/jl2/wpi https://github.com/jl2/wpi) for a GPS project I was working on. No idea if it runs on modern RPis, though.
- actionfromafar 3y agoGood that it has the option to link the library directly, instead of only communicating with the daemon version of pigpio. (Very slow!)
- aredox 3y agoNot working with RPi 5 yet - wait on hardware documentation.
- _ph_ 3y agoGreat! Lisp is great for interactive tinkering with the hardware and also using SBCL gives you excellent execution speeds, so that you can run even large tasks on modest hardware.
- aidenn0 3y agoNote that "modest hardware" in this case means "slow CPU" if you have less than 64MB or so of RAM[1], I would instead recommend ECL, which can run in 16MB of ram somewhat comfortably. 1: 100MB if you don't have swap.
- _ph_ 3y agoYes, but we are talking aobu tthe Raspberry Pi which comes with 4G of ram. For very small devices, other Lisps might be preferrable.