bcm2835

Version, currently master branch1 version
  • master branchlatestNov 27, 2022

github.com/SleepingInsomniac/bcm2835

Raspberry PI LibBCM2835 crystal bindings

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  bcm2835:
    github: SleepingInsomniac/bcm2835
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.6.0
License
MIT
Author
Alex Clink

Dependencies

This version declares no dependencies.

README

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

  1. Add the dependency to your shard.yml:

    dependencies:
      bcm2835:
        github: sleepinginsomniac/bcm2835
  2. Run shards install

  3. Run ./build_bcm2835.sh to build the shared library

Usage

require "bcm2835"

Contributing

  1. Fork it (https://github.com/sleepinginsomniac/bcm2835/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors