This is a Smalltalk wrapper of the C library pigpio to manage the GPIO pins of a Raspberry Pi
Explore the docs »
Report a defect
|
Request feature
This project is designed for anyone wanting to access GPIOs of a Raspberry Pi and starting with IoT. The library provides not just pulling up and down pins but also many of the most important protocols such as 1-Wire, I2C, SPI, etc.
- The code is licensed under MIT.
- The documentation is licensed under CC BY-SA 4.0.
- Install VA Smalltalk 11.0.1 or newer.
- Install Tonel support in your development image following this guide.
- Clone this repository.
- The easiest and recommended approach is to install it via a script:
| loader path |
path := (CfsPath named: '<insert path to root pigpio-vast local repo here>').
loader := TonelLoader readFromPath: path.
loader
beUnattended; "do not prompt and use all defaults"
useGitVersion.
loader loadAllMapsWithRequiredMaps.
Or you can load the Configuration Map RaspberryHardwareInterfaceCore
from the context menu of the Configuration Maps Browser: "Import"
-> "Load Configuration Maps from Tonel repository..."
-> select path to root pigpio-vast
local repo. This will open a dialog and will use convenient defaults for the load. Refer to its documentation for more details.
- Optionally run the SUnit tests included in the map
RaspberryHardwareInterfaceTest
to ensure correct installation. One easy way is to right-click on theRaspberryHardwareInterfaceTest
map name in the Name pane (as opposed to version pane ) and then selectTest Loaded Applications
.
- Download the latest ECAP from Instantiations
- Read some related blog posts
- vast-pigpio started as a clone of RaspberryHardwareInterface which was was a port done by Louis LaBrunda from Squeak's implementation done by Tim Rowledge.
- Norbert Schlemmer
- Gerardo Richarte
- Anton Petrov and HRWorks for their work on the MFRC522 wrapper
- Joan, pigpio author
- Github repository layout was generated with Ba-St Github-setup project.
Check the Contribution Guidelines