bcm2835
Crystal Bindings to LibBcm2835.
From Raspberry Pi Documentation:
The BCM2835 is the Broadcom chip used in the Raspberry Pi 1 Models A, A+, B, B+, the Raspberry Pi Zero, the Raspberry Pi Zero W, and the Raspberry Pi Compute Module 1. Some details of the chip can be found in the peripheral specification document. It contains a single-core ARM1176JZF-S processor.
Installation
-
Add the dependency to your
shard.yml
:dependencies: bcm2835: github: sleepinginsomniac/bcm2835
-
Run
shards install
-
Run
./build_bcm2835.sh
to build the shared library
Usage
require "bcm2835"
Contributing
- Fork it (https://github.com/sleepinginsomniac/bcm2835/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Alex Clink - creator and maintainer